summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorJose <jvargas@gitlab.com>2018-05-30 12:28:28 -0500
committerJose <jvargas@gitlab.com>2018-05-31 13:35:50 -0500
commitcf3f7601b06a82f02cc0f870bf05ec4b42a8ea92 (patch)
treea5fe855638df25ed3e2b859113489dcf39399638 /app/views
parent02f8f900da8bc6f1c0b964ee46f53a765d0d4de2 (diff)
downloadgitlab-ce-cf3f7601b06a82f02cc0f870bf05ec4b42a8ea92.tar.gz
Remove form-horizontal class where applicable
Diffstat (limited to 'app/views')
-rw-r--r--app/views/admin/application_settings/_repository_mirrors_form.html.haml8
-rw-r--r--app/views/admin/application_settings/_terms.html.haml6
-rw-r--r--app/views/shared/members/_member.html.haml2
3 files changed, 8 insertions, 8 deletions
diff --git a/app/views/admin/application_settings/_repository_mirrors_form.html.haml b/app/views/admin/application_settings/_repository_mirrors_form.html.haml
index edd8e5e9eb8..6e967690319 100644
--- a/app/views/admin/application_settings/_repository_mirrors_form.html.haml
+++ b/app/views/admin/application_settings/_repository_mirrors_form.html.haml
@@ -1,10 +1,10 @@
-= form_for @application_setting, url: admin_application_settings_path, html: { class: 'form-horizontal fieldset-form' } do |f|
+= form_for @application_setting, url: admin_application_settings_path do |f|
= form_errors(@application_setting)
%fieldset
- .form-group
- = f.label :mirror_available, 'Enable mirror configuration', class: 'control-label col-sm-2'
- .col-sm-10
+ .form-group.row
+ = f.label :mirror_available, 'Enable mirror configuration', class: 'control-label col-sm-4'
+ .col-sm-8
.form-check
= f.label :mirror_available do
= f.check_box :mirror_available
diff --git a/app/views/admin/application_settings/_terms.html.haml b/app/views/admin/application_settings/_terms.html.haml
index 44bf7b65a8e..3b96a1c92a4 100644
--- a/app/views/admin/application_settings/_terms.html.haml
+++ b/app/views/admin/application_settings/_terms.html.haml
@@ -1,8 +1,8 @@
-= form_for @application_setting, url: admin_application_settings_path, html: { class: 'form-horizontal fieldset-form' } do |f|
+= form_for @application_setting, url: admin_application_settings_path do |f|
= form_errors(@application_setting)
%fieldset
- .form-group
+ .form-group.row
.col-sm-12
.form-check
= f.label :enforce_terms do
@@ -10,7 +10,7 @@
= _("Require all users to accept Terms of Service when they access GitLab.")
.form-text.text-muted
= _("When enabled, users cannot use GitLab until the terms have been accepted.")
- .form-group
+ .form-group.row
.col-sm-12
= f.label :terms do
= _("Terms of Service Agreement")
diff --git a/app/views/shared/members/_member.html.haml b/app/views/shared/members/_member.html.haml
index 42b2d27c44a..46debe1f2b9 100644
--- a/app/views/shared/members/_member.html.haml
+++ b/app/views/shared/members/_member.html.haml
@@ -61,7 +61,7 @@
title: 'Resend invite'
- if user != current_user && member.can_update?
- = form_for member, remote: true, html: { class: 'js-edit-member-form form-horizontal' } do |f|
+ = form_for member, remote: true, html: { class: 'js-edit-member-form form-group row append-right-5' } do |f|
= f.hidden_field :access_level
.member-form-control.dropdown.append-right-5
%button.dropdown-menu-toggle.js-member-permissions-dropdown{ type: "button",