debian-mirror-gitlab/app/views/shared/_default_branch_protection.html.haml

5 lines
276 B
Text
Raw Normal View History

2021-12-11 22:18:48 +05:30
%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]