mirror of https://github.com/Chocobozzz/PeerTube
Add missing autocomplete fields
parent
31a67bc620
commit
bd4b321b0b
|
@ -12,6 +12,7 @@
|
|||
<input
|
||||
type="text" id="fromName" class="form-control"
|
||||
formControlName="fromName" [ngClass]="{ 'input-error': formErrors.fromName }"
|
||||
autocomplete="name"
|
||||
>
|
||||
<div *ngIf="formErrors.fromName" class="form-error" role="alert">{{ formErrors.fromName }}</div>
|
||||
</div>
|
||||
|
@ -21,7 +22,7 @@
|
|||
<input
|
||||
type="text" id="fromEmail" class="form-control"
|
||||
formControlName="fromEmail" [ngClass]="{ 'input-error': formErrors['fromEmail'] }"
|
||||
i18n-placeholder placeholder="Example: john@example.com"
|
||||
i18n-placeholder placeholder="Example: john@example.com" autocomplete="email"
|
||||
>
|
||||
<div *ngIf="formErrors.fromEmail" class="form-error" role="alert">{{ formErrors.fromEmail }}</div>
|
||||
</div>
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
<input
|
||||
type="text" id="username" i18n-placeholder placeholder="Example: john@example.com" required tabindex="1"
|
||||
formControlName="username" class="form-control" [ngClass]="{ 'input-error': formErrors['username'] }" myAutofocus
|
||||
autocomplete="username"
|
||||
>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
<input
|
||||
type="text" id="displayName" i18n-placeholder placeholder="Example: John Doe"
|
||||
formControlName="displayName" class="form-control" [ngClass]="{ 'input-error': formErrors['displayName'] }"
|
||||
autocomplete="nickname"
|
||||
>
|
||||
</div>
|
||||
|
||||
|
@ -33,6 +34,7 @@
|
|||
<input
|
||||
type="text" id="username" i18n-placeholder placeholder="Example: john_doe58"
|
||||
formControlName="username" class="form-control" [ngClass]="{ 'input-error': formErrors['username'] }"
|
||||
autocomplete="username"
|
||||
>
|
||||
<span class="input-group-text">@{{ instanceHost }}</span>
|
||||
</div>
|
||||
|
@ -50,7 +52,7 @@
|
|||
</div>
|
||||
|
||||
<input
|
||||
type="text" id="email" i18n-placeholder placeholder="Example: john@example.com"
|
||||
type="text" id="email" i18n-placeholder placeholder="Example: john@example.com" autocomplete="email"
|
||||
formControlName="email" class="form-control" [ngClass]="{ 'input-error': formErrors['email'] }"
|
||||
>
|
||||
|
||||
|
|
Loading…
Reference in New Issue