debian-mirror-gitlab/app/views/shared/_default_branch_protection.html.haml
2021-12-11 22:18:48 +05:30

4 lines
276 B
Text

%fieldset.form-group
%legend.h5.gl-border-none.gl-mt-0.gl-mb-3= _('Default branch protection')
- Gitlab::Access.protection_options.each do |option|
= f.gitlab_ui_radio_component :default_branch_protection, option[:value], option[:label], help_text: option[:help_text]