Skip to content

Commit

Permalink
Merge pull request #2142 from ORCID/9028-qa-registration-affiliations…
Browse files Browse the repository at this point in the history
…-ids-must-be-unique

9028 qa registration affiliations ids must be unique
  • Loading branch information
leomendoza123 authored Jan 24, 2024
2 parents a741c99 + 075e88b commit 46fd4e5
Showing 1 changed file with 11 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ <h3 class="orc-font-body" i18n="@@register.thisLooksLikeAPersonalEmail">
error: organizationIsInvalidAndTouched,
}"
>
<strong i18n="@@shared.organization" id="organizationLabel"
>Organization</strong
>
<strong i18n="@@shared.organization">Organization</strong>
</label>
</div>

Expand Down Expand Up @@ -149,19 +147,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 +174,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 +206,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

0 comments on commit 46fd4e5

Please sign in to comment.