2021-04-15 09:09:03 +00:00
|
|
|
= form_for @application_setting, url: general_admin_application_settings_path(anchor: 'js-merge-request-settings'), html: { class: 'fieldset-form', id: 'merge-request-settings' } do |f|
|
2018-09-24 15:30:49 +00:00
|
|
|
= form_errors(@application_setting)
|
|
|
|
|
|
|
|
%fieldset
|
|
|
|
.form-group
|
2021-06-14 15:09:48 +00:00
|
|
|
= f.label :diff_max_patch_bytes, _('Maximum diff patch size in bytes'), class: 'label-light'
|
2021-01-31 18:09:51 +00:00
|
|
|
= f.number_field :diff_max_patch_bytes, class: 'form-control gl-form-input'
|
2018-09-24 15:30:49 +00:00
|
|
|
%span.form-text.text-muted
|
2021-06-14 15:09:48 +00:00
|
|
|
= _("Collapse diffs larger than this size, and show a 'too large' message instead.")
|
2018-09-24 15:30:49 +00:00
|
|
|
|
2020-09-11 18:08:42 +00:00
|
|
|
= link_to sprite_icon('question-o'),
|
2021-06-14 12:10:13 +00:00
|
|
|
help_page_path('user/admin_area/diff_limits')
|
2021-03-09 15:08:59 +00:00
|
|
|
= f.submit _('Save changes'), class: 'gl-button btn btn-confirm'
|