summaryrefslogtreecommitdiff
path: root/app/views/devise
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2016-12-22 16:30:09 +0530
committerKushal Pandya <kushal@gitlab.com>2016-12-31 11:43:08 +0530
commit7b1944f96c6513486cc4a7be30f912e2f7a1110b (patch)
treeb9ad52981d16422f01b4c49e8126ea7fe08c9020 /app/views/devise
parentef3744d0cd644d75b7fa573777baf29950172623 (diff)
downloadgitlab-ce-7b1944f96c6513486cc4a7be30f912e2f7a1110b.tar.gz
HAMLLint: Fix `ClassAttributeWithStaticValue` offences
Diffstat (limited to 'app/views/devise')
-rw-r--r--app/views/devise/shared/_signin_box.html.haml2
-rw-r--r--app/views/devise/shared/_signup_box.html.haml2
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