6b4f93c034
Updating multiple application settings panels through a single action causes the incorrect action to be shown when there are errors. Instead, make each panel action handle both updating and display.
9 lines
474 B
Text
9 lines
474 B
Text
= form_for @application_setting, url: ci_cd_admin_application_settings_path(anchor: 'js-registry-settings'), html: { class: 'fieldset-form' } do |f|
|
|
= form_errors(@application_setting)
|
|
|
|
%fieldset
|
|
.form-group
|
|
= f.label :container_registry_token_expire_delay, 'Authorization token duration (minutes)', class: 'label-bold'
|
|
= f.number_field :container_registry_token_expire_delay, class: 'form-control'
|
|
|
|
= f.submit 'Save changes', class: "btn btn-success"
|