diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-12 15:11:22 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-12 15:11:22 -0500 |
commit | c552328617202bd1225abd3e84fc7f4a4b79e4fa (patch) | |
tree | 93b5f95af70561784bb29bd6f7dbd1ef12e69b29 /app/views/admin/application_settings/_signup.html.haml | |
parent | 705d7f703b10f5e1a066d0623bf32d07868d6668 (diff) | |
download | gitlab-ce-c552328617202bd1225abd3e84fc7f4a4b79e4fa.tar.gz |
[skip ci] .form-horizontal => .form-group.row
Diffstat (limited to 'app/views/admin/application_settings/_signup.html.haml')
-rw-r--r-- | app/views/admin/application_settings/_signup.html.haml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/app/views/admin/application_settings/_signup.html.haml b/app/views/admin/application_settings/_signup.html.haml index c83d3e5ed09..42f92b81b58 100644 --- a/app/views/admin/application_settings/_signup.html.haml +++ b/app/views/admin/application_settings/_signup.html.haml @@ -1,32 +1,32 @@ -= 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, html: { class: 'fieldset-form' } do |f| = form_errors(@application_setting) %fieldset - .form-group + .form-group.row .col-sm-offset-2.col-sm-10 .form-check = f.label :signup_enabled do = f.check_box :signup_enabled Sign-up enabled - .form-group + .form-group.row .col-sm-offset-2.col-sm-10 .form-check = f.label :send_user_confirmation_email do = f.check_box :send_user_confirmation_email Send confirmation email on sign-up - .form-group + .form-group.row = f.label :domain_whitelist, 'Whitelisted domains for sign-ups', class: 'col-form-label col-sm-2' .col-sm-10 = f.text_area :domain_whitelist_raw, placeholder: 'domain.com', class: 'form-control', rows: 8 .form-text.text-muted ONLY users with e-mail addresses that match these domain(s) will be able to sign-up. Wildcards allowed. Use separate lines for multiple entries. Ex: domain.com, *.domain.com - .form-group + .form-group.row = f.label :domain_blacklist_enabled, 'Domain Blacklist', class: 'col-form-label col-sm-2' .col-sm-10 .form-check = f.label :domain_blacklist_enabled do = f.check_box :domain_blacklist_enabled Enable domain blacklist for sign ups - .form-group + .form-group.row .col-sm-offset-2.col-sm-10 .form-check = label_tag :blacklist_type_file do @@ -38,18 +38,18 @@ = radio_button_tag :blacklist_type, :raw, @application_setting.domain_blacklist.present? || @application_setting.domain_blacklist.blank? .option-title Enter blacklist manually - .form-group.blacklist-file + .form-group.row.blacklist-file = f.label :domain_blacklist_file, 'Blacklist file', class: 'col-form-label col-sm-2' .col-sm-10 = f.file_field :domain_blacklist_file, class: 'form-control', accept: '.txt,.conf' .form-text.text-muted Users with e-mail addresses that match these domain(s) will NOT be able to sign-up. Wildcards allowed. Use separate lines or commas for multiple entries. - .form-group.blacklist-raw + .form-group.row.blacklist-raw = f.label :domain_blacklist, 'Blacklisted domains for sign-ups', class: 'col-form-label col-sm-2' .col-sm-10 = f.text_area :domain_blacklist_raw, placeholder: 'domain.com', class: 'form-control', rows: 8 .form-text.text-muted Users with e-mail addresses that match these domain(s) will NOT be able to sign-up. Wildcards allowed. Use separate lines for multiple entries. Ex: domain.com, *.domain.com - .form-group + .form-group.row = f.label :after_sign_up_text, class: 'col-form-label col-sm-2' .col-sm-10 = f.text_area :after_sign_up_text, class: 'form-control', rows: 4 |