28 lines
971 B
HTML
28 lines
971 B
HTML
<!-- change password -->
|
|
|
|
<app-menu></app-menu>
|
|
|
|
<div class="container">
|
|
|
|
<div *ngIf="isAdmin" class="tab-pane fade show active" id="reset-password">
|
|
<form #resetPasswordForm="ngForm" (ngSubmit)="onResetPassword(resetPasswordForm)">
|
|
<fieldset>
|
|
<legend>User Password Management</legend>
|
|
<div class="form-group">
|
|
<label for="email">Email address</label>
|
|
<input type="email" name="reset-password-email" required ngModel class="form-control"
|
|
id="email"
|
|
placeholder="Enter email (example@email.com)">
|
|
<small class="form-text text-muted">We'll never share your email with anyone else.</small>
|
|
</div>
|
|
<button type="submit" [disabled]="resetPasswordForm.invalid" class="btn btn-primary">
|
|
<i *ngIf="refreshing" class="fas fa-spinner fa-spin"></i>
|
|
<span>{{refreshing ? 'Loading...' : 'Reset Password'}}</span>
|
|
</button>
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
|
|
</div>
|
|
|