2019-09-16 21:06:30 +00:00
|
|
|
= form_for @application_setting, url: general_admin_application_settings_path(anchor: 'js-merge-request-settings'), html: { class: 'fieldset-form' } do |f|
|
2018-09-24 15:30:49 +00:00
|
|
|
= form_errors(@application_setting)
|
|
|
|
|
|
|
|
%fieldset
|
|
|
|
.form-group
|
|
|
|
= f.label :diff_max_patch_bytes, 'Maximum diff patch size (Bytes)', class: 'label-light'
|
|
|
|
= f.number_field :diff_max_patch_bytes, class: 'form-control'
|
|
|
|
%span.form-text.text-muted
|
|
|
|
Diff files surpassing this limit will be presented as 'too large'
|
|
|
|
and won't be expandable.
|
|
|
|
|
|
|
|
= link_to icon('question-circle'),
|
|
|
|
help_page_path('user/admin_area/diff_limits',
|
|
|
|
anchor: 'maximum-diff-patch-size')
|
2020-08-11 21:10:09 +00:00
|
|
|
.gl-display-flex.gl-justify-content-end
|
|
|
|
= f.submit _('Save changes'), class: 'btn btn-success'
|