17 lines
753 B
Plaintext
17 lines
753 B
Plaintext
= form_for @application_setting, url: admin_application_settings_path, html: { class: 'form-horizontal fieldset-form' } do |f|
|
|
= form_errors(@application_setting)
|
|
|
|
%fieldset
|
|
.form-group
|
|
.col-sm-offset-2.col-sm-10
|
|
.checkbox
|
|
= f.label :performance_bar_enabled do
|
|
= f.check_box :performance_bar_enabled
|
|
Enable the Performance Bar
|
|
.form-group
|
|
= f.label :performance_bar_allowed_group_id, 'Allowed group', class: 'control-label col-sm-2'
|
|
.col-sm-10
|
|
= f.text_field :performance_bar_allowed_group_id, class: 'form-control', placeholder: 'my-org/my-group', value: @application_setting.performance_bar_allowed_group&.full_path
|
|
|
|
= f.submit 'Save changes', class: "btn btn-success"
|