2018-04-12 20:11:22 +00:00
|
|
|
= form_for @application_setting, url: admin_application_settings_path, html: { class: 'fieldset-form' } do |f|
|
2018-03-22 17:50:46 +00:00
|
|
|
= form_errors(@application_setting)
|
|
|
|
|
2018-03-26 18:56:33 +00:00
|
|
|
%fieldset
|
2018-06-13 07:40:55 +00:00
|
|
|
.form-group
|
|
|
|
.form-check
|
|
|
|
= f.check_box :gravatar_enabled, class: 'form-check-input'
|
|
|
|
= f.label :gravatar_enabled, class: 'form-check-label' do
|
|
|
|
Gravatar enabled
|
|
|
|
.form-group
|
2018-07-19 22:11:31 +00:00
|
|
|
= f.label :default_projects_limit, class: 'label-bold'
|
2018-06-13 07:40:55 +00:00
|
|
|
= f.number_field :default_projects_limit, class: 'form-control'
|
|
|
|
.form-group
|
2018-07-19 22:11:31 +00:00
|
|
|
= f.label :max_attachment_size, 'Maximum attachment size (MB)', class: 'label-bold'
|
2018-06-13 07:40:55 +00:00
|
|
|
= f.number_field :max_attachment_size, class: 'form-control'
|
|
|
|
.form-group
|
2018-07-19 22:11:31 +00:00
|
|
|
= f.label :session_expire_delay, 'Session duration (minutes)', class: 'label-bold'
|
2018-06-13 07:40:55 +00:00
|
|
|
= f.number_field :session_expire_delay, class: 'form-control'
|
|
|
|
%span.form-text.text-muted#session_expire_delay_help_block GitLab restart is required to apply changes
|
|
|
|
.form-group
|
2018-07-19 22:11:31 +00:00
|
|
|
= f.label :user_oauth_applications, 'User OAuth applications', class: 'label-bold'
|
2018-06-13 07:40:55 +00:00
|
|
|
.form-check
|
|
|
|
= f.check_box :user_oauth_applications, class: 'form-check-input'
|
|
|
|
= f.label :user_oauth_applications, class: 'form-check-label' do
|
|
|
|
Allow users to register any application to use GitLab as an OAuth provider
|
|
|
|
.form-group
|
2018-07-19 22:11:31 +00:00
|
|
|
= f.label :user_default_external, 'New users set to external', class: 'label-bold'
|
2018-06-13 07:40:55 +00:00
|
|
|
.form-check
|
|
|
|
= f.check_box :user_default_external, class: 'form-check-input'
|
|
|
|
= f.label :user_default_external, class: 'form-check-label' do
|
|
|
|
Newly registered users will by default be external
|
2018-03-22 17:50:46 +00:00
|
|
|
|
2018-03-26 17:51:08 +00:00
|
|
|
= f.submit 'Save changes', class: 'btn btn-success'
|