mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
add name to registration form
This commit is contained in:
parent
ae51847f02
commit
1e7c2c2362
2
jslib
2
jslib
@ -1 +1 @@
|
||||
Subproject commit 269b59210cba1114ff75519c9d0b391406f94bd3
|
||||
Subproject commit 3454d93fef76f84c7351990089f7b155b88580f8
|
@ -8,12 +8,18 @@
|
||||
<label for="email">{{'emailAddress' | i18n}}</label>
|
||||
<input id="email" class="form-control" type="text" name="Email" [(ngModel)]="email" required [appAutofocus]="email === ''"
|
||||
inputmode="email" appInputVerbatim="false">
|
||||
<small class="form-text text-muted">{{'emailAddressDesc' | i18n}}</small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="name">{{'yourName' | i18n}}</label>
|
||||
<input id="name" class="form-control" type="text" name="Name" [(ngModel)]="name" [appAutofocus]="email !== ''">
|
||||
<small class="form-text text-muted">{{'yourNameDesc' | i18n}}</small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="masterPassword">{{'masterPass' | i18n}}</label>
|
||||
<div class="d-flex">
|
||||
<input id="masterPassword" type="{{showPassword ? 'text' : 'password'}}" name="MasterPassword" class="text-monospace form-control"
|
||||
[(ngModel)]="masterPassword" required [appAutofocus]="email !== ''" appInputVerbatim>
|
||||
[(ngModel)]="masterPassword" required appInputVerbatim>
|
||||
<button type="button" class="ml-1 btn btn-link" appBlurClick title="{{'toggleVisibility' | i18n}}" (click)="togglePassword(false)">
|
||||
<i class="fa fa-lg" [ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
|
||||
</button>
|
||||
|
@ -494,6 +494,15 @@
|
||||
"submit": {
|
||||
"message": "Submit"
|
||||
},
|
||||
"emailAddressDesc": {
|
||||
"message": "You'll use your email address to log in."
|
||||
},
|
||||
"yourName": {
|
||||
"message": "Your Name"
|
||||
},
|
||||
"yourNameDesc": {
|
||||
"message": "What should we call you?"
|
||||
},
|
||||
"masterPass": {
|
||||
"message": "Master Password"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user