Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Gliga <otzy_007@yahoo.com>2016-05-09 19:38:07 +0300
committerAndrei Gliga <otzy_007@yahoo.com>2016-05-12 13:44:46 +0300
commita2d4c349b5772231d7428cf32ac8a66d70beb627 (patch)
tree51ded2e14a8a2c9bd8c12d6023a13111d051d494 /app/views/admin
parentdad501a2367a35f6d791efac9002e487176f2c9e (diff)
unindent 1 level the Disable OAuth form
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/application_settings/_form.html.haml16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/views/admin/application_settings/_form.html.haml b/app/views/admin/application_settings/_form.html.haml
index 99f86e5244b..383f206079d 100644
--- a/app/views/admin/application_settings/_form.html.haml
+++ b/app/views/admin/application_settings/_form.html.haml
@@ -109,14 +109,14 @@
= f.label :signin_enabled do
= f.check_box :signin_enabled
Sign-in enabled
- - if omniauth_enabled? && !button_based_providers.empty?
- .form-group
- = f.label :disable_oauth_signin_sources, 'Disable OAuth Sign-In sources', class: 'control-label col-sm-2'
- .col-sm-10
- - data_attrs = { toggle: 'buttons' }
- .btn-group{ data: data_attrs }
- - oauth_providers_checkboxes('oauth-providers-help').each do |source|
- = source
+ - if omniauth_enabled? && !button_based_providers.empty?
+ .form-group
+ = f.label :disable_oauth_signin_sources, 'Disable OAuth Sign-In sources', class: 'control-label col-sm-2'
+ .col-sm-10
+ - data_attrs = { toggle: 'buttons' }
+ .btn-group{ data: data_attrs }
+ - oauth_providers_checkboxes('oauth-providers-help').each do |source|
+ = source
.form-group
= f.label :two_factor_authentication, 'Two-factor authentication', class: 'control-label col-sm-2'
.col-sm-10