summaryrefslogtreecommitdiff
path: root/app/views/groups/settings/_default_branch_protection.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/groups/settings/_default_branch_protection.html.haml')
-rw-r--r--app/views/groups/settings/_default_branch_protection.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/groups/settings/_default_branch_protection.html.haml b/app/views/groups/settings/_default_branch_protection.html.haml
new file mode 100644
index 00000000000..e0e901cbc4a
--- /dev/null
+++ b/app/views/groups/settings/_default_branch_protection.html.haml
@@ -0,0 +1,3 @@
+- return unless can_update_default_branch_protection?(group)
+
+= render 'shared/default_branch_protection', f: f, selected_level: group.default_branch_protection