2018-11-18 11:00:15 +05:30
|
|
|
= form_for @application_setting, url: admin_application_settings_path(anchor: 'js-help-settings'), html: { class: 'fieldset-form' } do |f|
|
2018-05-09 12:01:36 +05:30
|
|
|
= form_errors(@application_setting)
|
|
|
|
|
|
|
|
%fieldset
|
|
|
|
.form-group
|
2018-11-18 11:00:15 +05:30
|
|
|
= f.label :help_page_text, class: 'label-bold'
|
2018-11-08 19:23:39 +05:30
|
|
|
= f.text_area :help_page_text, class: 'form-control', rows: 4
|
|
|
|
.form-text.text-muted Markdown enabled
|
2018-05-09 12:01:36 +05:30
|
|
|
.form-group
|
2018-11-08 19:23:39 +05:30
|
|
|
.form-check
|
|
|
|
= f.check_box :help_page_hide_commercial_content, class: 'form-check-input'
|
|
|
|
= f.label :help_page_hide_commercial_content, class: 'form-check-label' do
|
|
|
|
Hide marketing-related entries from help
|
2018-05-09 12:01:36 +05:30
|
|
|
.form-group
|
2018-11-18 11:00:15 +05:30
|
|
|
= f.label :help_page_support_url, 'Support page URL', class: 'label-bold'
|
2018-11-08 19:23:39 +05:30
|
|
|
= f.text_field :help_page_support_url, class: 'form-control', placeholder: 'http://company.example.com/getting-help', :'aria-describedby' => 'support_help_block'
|
|
|
|
%span.form-text.text-muted#support_help_block Alternate support URL for help page
|
2018-05-09 12:01:36 +05:30
|
|
|
|
|
|
|
= f.submit 'Save changes', class: "btn btn-success"
|