Commit c621a771 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'fix-forms' into 'master'

Fix features checkboxes at admin settings page

For !1615

See merge request !1674
parents f0a132ed ea7478d6
...@@ -8,21 +8,29 @@ ...@@ -8,21 +8,29 @@
%fieldset %fieldset
%legend Features %legend Features
.form-group .form-group
= f.label :signup_enabled, class: 'control-label col-sm-2' .col-sm-offset-2.col-sm-10
.col-sm-10 .checkbox
= f.check_box :signup_enabled, class: 'checkbox form-control' = f.label :signup_enabled do
.form-group = f.check_box :signup_enabled
= f.label :signin_enabled, class: 'control-label col-sm-2' Signin enabled
.col-sm-10 .form-group
= f.check_box :signin_enabled, class: 'checkbox form-control' .col-sm-offset-2.col-sm-10
.form-group .checkbox
= f.label :gravatar_enabled, class: 'control-label col-sm-2' = f.label :signin_enabled do
.col-sm-10 = f.check_box :signin_enabled
= f.check_box :gravatar_enabled, class: 'checkbox form-control' Signup enabled
.form-group .form-group
= f.label :twitter_sharing_enabled, "Twitter enabled", class: 'control-label col-sm-2' .col-sm-offset-2.col-sm-10
.col-sm-10 .checkbox
= f.check_box :twitter_sharing_enabled, class: 'checkbox form-control', :'aria-describedby' => 'twitter_help_block' = 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 %span.help-block#twitter_help_block Show users a button to share their newly created public or internal projects on twitter
%fieldset %fieldset
%legend Misc %legend Misc
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment