diff options
Diffstat (limited to 'client/src/app/+admin/users/user-edit/user-edit.component.html')
-rw-r--r-- | client/src/app/+admin/users/user-edit/user-edit.component.html | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/client/src/app/+admin/users/user-edit/user-edit.component.html b/client/src/app/+admin/users/user-edit/user-edit.component.html index 3ce246771..c6566da24 100644 --- a/client/src/app/+admin/users/user-edit/user-edit.component.html +++ b/client/src/app/+admin/users/user-edit/user-edit.component.html | |||
@@ -82,12 +82,16 @@ | |||
82 | <input type="submit" value="{{ getFormButtonTitle() }}" [disabled]="!form.valid"> | 82 | <input type="submit" value="{{ getFormButtonTitle() }}" [disabled]="!form.valid"> |
83 | </form> | 83 | </form> |
84 | 84 | ||
85 | <div *ngIf="!isCreation()"> | 85 | <div *ngIf="!isCreation()" class="danger-zone"> |
86 | <div class="account-title" i18n>Danger Zone</div> | 86 | <div class="account-title" i18n>Danger Zone</div> |
87 | 87 | ||
88 | <p i18n>Send a link to reset the password by mail to the user.</p> | 88 | <div class="form-group reset-password-email"> |
89 | <button style="margin-top:0;" (click)="resetPassword()" i18n>Ask for new password</button> | 89 | <label i18n>Send a link to reset the password by email to the user</label> |
90 | <button (click)="resetPassword()" i18n>Ask for new password</button> | ||
91 | </div> | ||
90 | 92 | ||
91 | <p class="mt-4" i18n>Manually set the user password</p> | 93 | <div class="form-group"> |
92 | <my-user-password userId="userId"></my-user-password> | 94 | <label i18n>Manually set the user password</label> |
93 | </div> \ No newline at end of file | 95 | <my-user-password [userId]="userId"></my-user-password> |
96 | </div> | ||
97 | </div> | ||