summaryrefslogtreecommitdiff
path: root/app/views/shared/_default_branch_protection.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/_default_branch_protection.html.haml')
-rw-r--r--app/views/shared/_default_branch_protection.html.haml7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/shared/_default_branch_protection.html.haml b/app/views/shared/_default_branch_protection.html.haml
index d7ae21debd8..7a6152f6d96 100644
--- a/app/views/shared/_default_branch_protection.html.haml
+++ b/app/views/shared/_default_branch_protection.html.haml
@@ -1,3 +1,4 @@
-.form-group
- = f.label :default_branch_protection, class: 'label-bold'
- = f.select :default_branch_protection, options_for_select(Gitlab::Access.protection_options, selected_level), {}, class: 'form-control'
+%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]