Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
Fix formatting and title of sponsoring org drop down (#1317)
Browse files Browse the repository at this point in the history
(cherry picked from commit 4029554)
  • Loading branch information
MGibson1 committed Nov 24, 2021
1 parent 48b9393 commit 494fc4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/settings/sponsored-families.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ <h1>{{'sponsoredFamilies' | i18n}}</h1>
</ul>
</div>
<form #form (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate *ngIf="anyOrgsAvailable">
<div *ngIf="moreThanOneOrgAvailable" class="form-group col-6">
<label for="availableSponsorshipOrg">{{ 'sponsoredFamiliesSelectOffer' | i18n}}</label>
<div *ngIf="moreThanOneOrgAvailable" class="form-group col-7">
<label for="availableSponsorshipOrg">{{ 'familiesSponsoringOrgSelect' | i18n}}</label>
<select id="availableSponsorshipOrg" name="Available Sponsorship Organization"
[(ngModel)]="selectedSponsorshipOrgId" class="form-control" required>
<option value="">-- {{'select' | i18n}} --</option>
<option *ngFor="let o of availableSponsorshipOrgs" [ngValue]="o.id">{{o.name}}</option>
</select>
<small>{{'sponsoredFamiliesLeaveCopy' | i18n}}</small>
</div>
<div class="form-group col-6">
<div class="form-group col-7">
<label for="accountEmail">{{'sponsoredFamiliesEmail' | i18n}}:</label>
<input id="accountEmail" class="form-control" inputmode="email" [(ngModel)]="sponsorshipEmail"
name="sponsorshipEmail" required>
Expand Down
3 changes: 3 additions & 0 deletions src/locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -4518,6 +4518,9 @@
"sponsoredFamiliesSelectOffer": {
"message": "Select the organization you would like sponsored"
},
"familiesSponsoringOrgSelect": {
"message": "Which Free Families offer would you like to redeem?"
},
"sponsoredFamiliesEmail": {
"message": "Enter your personal email to redeem Bitwarden Families"
},
Expand Down

0 comments on commit 494fc4b

Please sign in to comment.