Skip to content

Commit

Permalink
9028-qa-registration-affiliations-ids-must-be-unique
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonardo Mendoza Fernadez authored and Leonardo Mendoza Fernadez committed Jan 24, 2024
1 parent 022d2a6 commit c180119
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ <h3 class="orc-font-body" i18n="@@register.thisLooksLikeAPersonalEmail">
error: organizationIsInvalidAndTouched,
}"
>
<strong i18n="@@shared.organization" id="organizationLabel"
<strong i18n="@@shared.organization"
>Organization</strong
>
</label>
Expand Down Expand Up @@ -149,19 +149,18 @@ <h3 class="orc-font-body" i18n="@@register.thisLooksLikeAPersonalEmail">

<div class="input-container">
<mat-label
id="department-input-label"
class="orc-font-small-print"
[ngClass]="{
error: departmentNameIsInvalidAndTouched
}"
><ng-container i18n="@@register.department">Department</ng-container>
<label id="family-names-input-label" i18n="@@register.optional"
>(Optional)</label
></mat-label
<label i18n="@@register.optional">(Optional)</label></mat-label
>
<mat-form-field appearance="outline" [hideRequiredMarker]="true">
<input
aria-labelledby="family-names-input-label"
id="family-names-input"
aria-labelledby="department-input-label"
id="department-input"
formControlName="departmentName"
matInput
[placeholder]="departmentPlaceholder"
Expand All @@ -177,21 +176,20 @@ <h3 class="orc-font-body" i18n="@@register.thisLooksLikeAPersonalEmail">

<div class="input-container">
<mat-label
id="role-input-label"
class="orc-font-small-print"
[ngClass]="{
error: roleTitleIsInvalidAndTouched
}"
><ng-container i18n="@@register.roleJobTitle"
>Role/Job title</ng-container
>
<label id="family-names-input-label" i18n="@@register.optional"
>(Optional)</label
></mat-label
<label i18n="@@register.optional">(Optional)</label></mat-label
>
<mat-form-field appearance="outline" [hideRequiredMarker]="true">
<input
aria-labelledby="family-names-input-label"
id="family-names-input"
aria-labelledby="role-input-label"
id="role-input"
formControlName="roleTitle"
matInput
[placeholder]="rolePlaceholder"
Expand All @@ -210,15 +208,14 @@ <h3 class="orc-font-body" i18n="@@register.thisLooksLikeAPersonalEmail">
<div class="input-container" formGroupName="startDateGroup">
<div class="row">
<mat-label
id="start-date-input-label"
class="orc-font-small-print"
[ngClass]="{
error: form.hasError('date', 'startDateGroup')
}"
>
<strong i18n="@@shared.startDate">Start date</strong>
<label id="family-names-input-label" i18n="@@register.optional"
>(Optional)</label
>
<label>(Optional)</label>
</mat-label>
</div>
<!--Start date year -->
Expand Down
4 changes: 2 additions & 2 deletions src/app/register2/pages/register/register2.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
(selectionChange)="selectionChange($event)"
role="tablist"
>
<mat-step [stepControl]="FormGroupStepA">
<!-- <mat-step [stepControl]="FormGroupStepA">
<ng-template matStepLabel i18n="@@register.personalData"
>Personal data</ng-template
>
Expand All @@ -30,7 +30,7 @@
[personalData]="personalData"
[reactivation]="reactivation"
></app-step-b>
</mat-step>
</mat-step> -->
<mat-step
[stepControl]="FormGroupStepC2"
[optional]="formGroupStepC2Optional"
Expand Down

0 comments on commit c180119

Please sign in to comment.