1
0
mirror of https://github.com/bitwarden/desktop.git synced 2025-01-20 20:51:26 +01:00

chore: add label, remove dupl. intlz.

This commit is contained in:
knhash 2021-07-02 11:51:07 +05:30
parent fbcdae0681
commit 22ee4e68ee

View File

@ -28,13 +28,14 @@
</div> </div>
<div class="box-content condensed" [hidden]="!showOptions"> <div class="box-content condensed" [hidden]="!showOptions">
<div class="box-content-row box-content-row-radio"> <div class="box-content-row box-content-row-radio">
<label class="sr-only radio-header">{{'type' | i18n}}</label>
<div class="radio-group text-default" appBoxRow name="PassTypeOptions" <div class="radio-group text-default" appBoxRow name="PassTypeOptions"
*ngFor="let o of passTypeOptions"> *ngFor="let o of passTypeOptions">
<input type="radio" class="radio" [(ngModel)]="options.type" name="Type_{{o.value}}" <input type="radio" class="radio" [(ngModel)]="options.type" name="Type_{{o.value}}"
id="type_{{o.value}}" [value]="o.value" (change)="saveOptions()" id="type_{{o.value}}" [value]="o.value" (change)="saveOptions()"
[checked]="options.type === o.value"> [checked]="options.type === o.value">
<label class="unstyled" for="type_{{o.value}}"> <label class="unstyled" for="type_{{o.value}}">
{{o.name | i18n}} {{o.name}}
</label> </label>
</div> </div>
</div> </div>