diff options
author | Kushal Pandya <kushal@gitlab.com> | 2016-12-22 14:00:09 +0300 |
---|---|---|
committer | Kushal Pandya <kushal@gitlab.com> | 2016-12-31 09:13:08 +0300 |
commit | 7b1944f96c6513486cc4a7be30f912e2f7a1110b (patch) | |
tree | b9ad52981d16422f01b4c49e8126ea7fe08c9020 /app/views/devise | |
parent | ef3744d0cd644d75b7fa573777baf29950172623 (diff) |
HAMLLint: Fix `ClassAttributeWithStaticValue` offences
Diffstat (limited to 'app/views/devise')
-rw-r--r-- | app/views/devise/shared/_signin_box.html.haml | 2 | ||||
-rw-r--r-- | app/views/devise/shared/_signup_box.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/devise/shared/_signin_box.html.haml b/app/views/devise/shared/_signin_box.html.haml index 86edaf14e43..e5c65a10e05 100644 --- a/app/views/devise/shared/_signin_box.html.haml +++ b/app/views/devise/shared/_signin_box.html.haml @@ -1,6 +1,6 @@ - if form_based_providers.any? - if crowd_enabled? - .login-box.tab-pane.active{id: "crowd", role: 'tabpanel', class: 'tab-pane'} + .login-box.tab-pane.active{id: "crowd", role: 'tabpanel'} .login-body = render 'devise/sessions/new_crowd' - @ldap_servers.each_with_index do |server, i| diff --git a/app/views/devise/shared/_signup_box.html.haml b/app/views/devise/shared/_signup_box.html.haml index 3133f6de2e8..683a38b9ec6 100644 --- a/app/views/devise/shared/_signup_box.html.haml +++ b/app/views/devise/shared/_signup_box.html.haml @@ -1,4 +1,4 @@ -#register-pane.login-box{ role: 'tabpanel', class: 'tab-pane' } +#register-pane.tab-pane.login-box{ role: 'tabpanel' } .login-body = form_for(resource, as: "new_#{resource_name}", url: registration_path(resource_name), html: { class: "new_new_user gl-show-field-errors", "aria-live" => "assertive" }) do |f| .devise-errors |