Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | 2x | <h1>{{ 'account.update_email.heading' | translate }}</h1>
<!-- Error message -->
<ish-error-message [error]="error" />
<div class="row">
<div class="col-md-10 col-xl-8">
<div class="section">
<form
[formGroup]="form"
ishFormSubmit
#emailForm="ngForm"
(ngSubmit)="submit()"
class="form-horizontal"
novalidate
>
<div class="row form-group">
<div class="col-md-4 col-form-label">{{ 'account.update_email.email.label' | translate }}</div>
<div *ngIf="currentUser" class="col-md-8 col-form-label">{{ currentUser.email }}</div>
</div>
<formly-form [form]="form" [fields]="fields" [model]="model" />
<div class="row">
<div class="offset-md-4 col-md-8">
<button type="submit" class="btn btn-primary" [disabled]="form.invalid && emailForm.submitted">
{{ 'account.update.button.label' | translate }}
</button>
<a routerLink="/account/profile" class="btn btn-secondary">{{ 'account.cancel.link' | translate }}</a>
</div>
</div>
</form>
</div>
</div>
</div>
<h2 class="form-text">{{ 'account.help.heading' | translate }}</h2>
<p class="form-text">
{{ 'account.update_email.question.text' | translate }}<br />{{ 'account.update_email.answer.text' | translate }}
</p>
|