2018-04-12 20:11:22 +00:00
|
|
|
= form_for @application_setting, url: admin_application_settings_path, html: { class: 'fieldset-form' } do |f|
|
2018-03-28 16:48:53 +00:00
|
|
|
= form_errors(@application_setting)
|
|
|
|
|
|
|
|
%fieldset
|
2018-06-13 07:40:55 +00:00
|
|
|
.form-group
|
|
|
|
.form-check
|
|
|
|
= f.check_box :performance_bar_enabled, class: 'form-check-input'
|
|
|
|
= f.label :performance_bar_enabled, class: 'form-check-label' do
|
|
|
|
Enable the Performance Bar
|
|
|
|
.form-group
|
|
|
|
= f.label :performance_bar_allowed_group_path, 'Allowed group', class: 'label-light'
|
|
|
|
= f.text_field :performance_bar_allowed_group_path, class: 'form-control', placeholder: 'my-org/my-group', value: @application_setting.performance_bar_allowed_group&.full_path
|
2018-03-28 16:48:53 +00:00
|
|
|
|
|
|
|
= f.submit 'Save changes', class: "btn btn-success"
|