2019-02-20 16:56:19 +00:00
|
|
|
= form_for @application_setting, url: metrics_and_profiling_admin_application_settings_path(anchor: 'js-performance-bar-settings'), 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'
|
2019-04-15 13:04:40 +00:00
|
|
|
= f.label :performance_bar_enabled, class: 'form-check-label qa-enable-performance-bar-checkbox' do
|
2019-06-09 08:04:59 +00:00
|
|
|
Enable access to the Performance Bar
|
2018-06-13 07:40:55 +00:00
|
|
|
.form-group
|
2018-07-19 22:11:31 +00:00
|
|
|
= f.label :performance_bar_allowed_group_path, 'Allowed group', class: 'label-bold'
|
2018-06-13 07:40:55 +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
|
|
|
|
2019-04-15 13:04:40 +00:00
|
|
|
= f.submit 'Save changes', class: 'btn btn-success qa-save-changes-button'
|