]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Fix issues in user form 28863/head
authorVolker Theile <vtheile@suse.com>
Wed, 3 Jul 2019 14:56:05 +0000 (16:56 +0200)
committerVolker Theile <vtheile@suse.com>
Wed, 3 Jul 2019 14:58:21 +0000 (16:58 +0200)
Link labels with correct form fields.

Signed-off-by: Volker Theile <vtheile@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.html

index 902e5f358dc951c279de5914b5238acc09cad5a1..73e148dd8bc4be4fe69e22c42b364f3f7007779e 100644 (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"