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-04-12 20:11:22 +00:00
|
|
|
.form-group.row
|
2018-04-13 17:49:32 +00:00
|
|
|
.offset-sm-2.col-sm-10
|
2018-04-11 18:05:57 +00:00
|
|
|
.form-check
|
2018-05-31 19:20:46 +00:00
|
|
|
= f.check_box :performance_bar_enabled, class: 'form-check-input'
|
|
|
|
= f.label :performance_bar_enabled, class: 'form-check-label' do
|
2018-03-28 16:48:53 +00:00
|
|
|
Enable the Performance Bar
|
2018-04-12 20:11:22 +00:00
|
|
|
.form-group.row
|
2018-05-25 16:44:15 +00:00
|
|
|
= f.label :performance_bar_allowed_group_path, 'Allowed group', class: 'col-form-label col-sm-2'
|
2018-03-28 16:48:53 +00:00
|
|
|
.col-sm-10
|
2018-05-25 16:44:15 +00:00
|
|
|
= 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"
|