1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
= gitlab_ui_form_for @application_setting, url: repository_admin_application_settings_path(anchor: 'js-repository-static-objects-settings'), html: { class: 'fieldset-form' } do |f|
= form_errors(@application_setting)
%fieldset
.form-group
= f.label :static_objects_external_storage_url, class: 'label-bold' do
= _('External storage URL')
= f.text_field :static_objects_external_storage_url, class: 'form-control gl-form-input'
%span.form-text.gl-text-subtle#static_objects_external_storage_url_help_block
= _('URL of the external storage to serve the repository static objects.')
.form-group
= f.label :static_objects_external_storage_auth_token, class: 'label-bold' do
= _('External storage authentication token')
= f.text_field :static_objects_external_storage_auth_token, class: 'form-control gl-form-input'
%span.form-text.gl-text-subtle#static_objects_external_storage_auth_token_help_block
= _('Secure token that identifies an external storage request.')
= f.submit _('Save changes'), pajamas_button: true
|