2019-07-22 14:56:40 +00:00
|
|
|
= form_for @application_setting, url: repository_admin_application_settings_path(anchor: 'js-repository-static-objects-settings'), html: { class: 'fieldset-form' } do |f|
|
2022-07-01 12:08:08 +00:00
|
|
|
= form_errors(@application_setting, pajamas_alert: true)
|
2019-07-22 14:56:40 +00:00
|
|
|
|
|
|
|
%fieldset
|
|
|
|
.form-group
|
|
|
|
= f.label :static_objects_external_storage_url, class: 'label-bold' do
|
|
|
|
= _('External storage URL')
|
2021-01-31 18:09:51 +00:00
|
|
|
= f.text_field :static_objects_external_storage_url, class: 'form-control gl-form-input'
|
2019-07-22 14:56:40 +00:00
|
|
|
%span.form-text.text-muted#static_objects_external_storage_url_help_block
|
2021-07-20 12:10:29 +00:00
|
|
|
= _('URL of the external storage to serve the repository static objects.')
|
2019-07-22 14:56:40 +00:00
|
|
|
.form-group
|
|
|
|
= f.label :static_objects_external_storage_auth_token, class: 'label-bold' do
|
|
|
|
= _('External storage authentication token')
|
2021-01-31 18:09:51 +00:00
|
|
|
= f.text_field :static_objects_external_storage_auth_token, class: 'form-control gl-form-input'
|
2019-07-22 14:56:40 +00:00
|
|
|
%span.form-text.text-muted#static_objects_external_storage_auth_token_help_block
|
2021-07-20 12:10:29 +00:00
|
|
|
= _('Secure token that identifies an external storage request.')
|
2019-07-22 14:56:40 +00:00
|
|
|
|
2021-03-09 15:08:59 +00:00
|
|
|
= f.submit _('Save changes'), class: "gl-button btn btn-confirm"
|