From: Tiago Melo Date: Thu, 11 Jul 2019 17:46:15 +0000 (+0000) Subject: mgr/dashboard: Fix form validation problems in RGW user form X-Git-Tag: v15.1.0~2224^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F29000%2Fhead;p=ceph.git mgr/dashboard: Fix form validation problems in RGW user form ng-bootstrap-form-validation requires that every "form-control" has an associated "formControlName". Since these didn't had one, we had to either removed the "form-control" class or rename it to "cd-form-control" (which will apply the same style without triggering the validation). Signed-off-by: Tiago Melo --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.html index 517c990ef8f..8d3231d1420 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.html @@ -202,7 +202,7 @@
+ class="no-border"> There are no subusers. @@ -215,7 +215,7 @@
@@ -274,7 +274,7 @@ i18n>S3
+ class="no-border"> There are no keys. @@ -287,7 +287,7 @@
@@ -335,7 +335,7 @@
+ class="no-border"> There are no keys. @@ -348,7 +348,7 @@
@@ -374,7 +374,7 @@
+ class="no-border"> There are no capabilities. @@ -387,7 +387,7 @@