2018-08-06 05:09:07 +00:00
|
|
|
= form_for @application_setting, url: admin_application_settings_path(anchor: 'js-terminal-settings'), html: { class: 'fieldset-form' } do |f|
|
2018-04-04 09:44:32 +00:00
|
|
|
= form_errors(@application_setting)
|
|
|
|
|
|
|
|
%fieldset
|
2018-06-13 07:40:55 +00:00
|
|
|
.form-group
|
2018-07-19 22:11:31 +00:00
|
|
|
= f.label :terminal_max_session_time, 'Max session time', class: 'label-bold'
|
2018-06-13 07:40:55 +00:00
|
|
|
= f.number_field :terminal_max_session_time, class: 'form-control'
|
|
|
|
.form-text.text-muted
|
|
|
|
Maximum time for web terminal websocket connection (in seconds).
|
|
|
|
0 for unlimited.
|
2018-04-04 09:44:32 +00:00
|
|
|
|
|
|
|
= f.submit 'Save changes', class: "btn btn-success"
|