summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@gitlab.com>2015-03-11 01:00:35 +0000
committerDmitriy Zaporozhets <dzaporozhets@gitlab.com>2015-03-11 01:00:35 +0000
commitc621a7712b7f75e0a71224c15983e68fd465d69b (patch)
tree1ec7ed6eb260931a47d39d916e054ba2df43ae28
parentf0a132ed992ea74c8a71335e94e300321c30ff09 (diff)
parentea7478d6b5a464d888a1aa7743a0076470f8bd3d (diff)
downloadgitlab-ce-c621a7712b7f75e0a71224c15983e68fd465d69b.tar.gz
Merge branch 'fix-forms' into 'master'
Fix features checkboxes at admin settings page For !1615 See merge request !1674
-rw-r--r--app/views/admin/application_settings/_form.html.haml40
1 files changed, 24 insertions, 16 deletions
diff --git a/app/views/admin/application_settings/_form.html.haml b/app/views/admin/application_settings/_form.html.haml
index ac64d26f9aa..520f327f4e7 100644
--- a/app/views/admin/application_settings/_form.html.haml
+++ b/app/views/admin/application_settings/_form.html.haml
@@ -8,22 +8,30 @@
%fieldset
%legend Features
.form-group
- = f.label :signup_enabled, class: 'control-label col-sm-2'
- .col-sm-10
- = f.check_box :signup_enabled, class: 'checkbox form-control'
- .form-group
- = f.label :signin_enabled, class: 'control-label col-sm-2'
- .col-sm-10
- = f.check_box :signin_enabled, class: 'checkbox form-control'
- .form-group
- = f.label :gravatar_enabled, class: 'control-label col-sm-2'
- .col-sm-10
- = f.check_box :gravatar_enabled, class: 'checkbox form-control'
- .form-group
- = f.label :twitter_sharing_enabled, "Twitter enabled", class: 'control-label col-sm-2'
- .col-sm-10
- = f.check_box :twitter_sharing_enabled, class: 'checkbox form-control', :'aria-describedby' => 'twitter_help_block'
- %span.help-block#twitter_help_block Show users a button to share their newly created public or internal projects on twitter
+ .col-sm-offset-2.col-sm-10
+ .checkbox
+ = f.label :signup_enabled do
+ = f.check_box :signup_enabled
+ Signin enabled
+ .form-group
+ .col-sm-offset-2.col-sm-10
+ .checkbox
+ = f.label :signin_enabled do
+ = f.check_box :signin_enabled
+ Signup enabled
+ .form-group
+ .col-sm-offset-2.col-sm-10
+ .checkbox
+ = f.label :gravatar_enabled do
+ = f.check_box :gravatar_enabled
+ Gravatar enabled
+ .form-group
+ .col-sm-offset-2.col-sm-10
+ .checkbox
+ = f.label :twitter_sharing_enabled do
+ = f.check_box :twitter_sharing_enabled, :'aria-describedby' => 'twitter_help_block'
+ %strong Twitter enabled
+ %span.help-block#twitter_help_block Show users a button to share their newly created public or internal projects on twitter
%fieldset
%legend Misc
.form-group