Merge pull request #28863 from votdev/fix_various_issues

mgr/dashboard: Fix issues in user form

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
This commit is contained in:
Lenz Grimmer 2019-07-10 16:56:59 +02:00 committed by GitHub
commit 67c8a9c5c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@
<div class="form-group"
[ngClass]="{'has-error': userForm.showError('username', formDir)}">
<label class="control-label col-sm-3"
for="name">
for="username">
<ng-container i18n>Username</ng-container>
<span class="required"
*ngIf="mode !== userFormMode.editing"></span>
@ -39,7 +39,7 @@
[ngClass]="{'has-error': userForm.showError('password', formDir)}">
<label i18n
class="control-label col-sm-3"
for="name">Password</label>
for="password">Password</label>
<div class="col-sm-9">
<div class="input-group">
<input class="form-control"
@ -67,7 +67,7 @@
[ngClass]="{'has-error': userForm.showError('confirmpassword', formDir)}">
<label i18n
class="control-label col-sm-3"
for="name">Confirm password</label>
for="confirmpassword">Confirm password</label>
<div class="col-sm-9">
<div class="input-group">
<input class="form-control"