summaryrefslogtreecommitdiff
path: root/app/views/projects/protected_tags/_index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/protected_tags/_index.html.haml')
-rw-r--r--app/views/projects/protected_tags/_index.html.haml20
1 files changed, 6 insertions, 14 deletions
diff --git a/app/views/projects/protected_tags/_index.html.haml b/app/views/projects/protected_tags/_index.html.haml
index 0bfb1ad191d..955220562a6 100644
--- a/app/views/projects/protected_tags/_index.html.haml
+++ b/app/views/projects/protected_tags/_index.html.haml
@@ -1,18 +1,10 @@
- content_for :page_specific_javascripts do
= page_specific_javascript_bundle_tag('protected_tags')
-.row.prepend-top-default.append-bottom-default
- .col-lg-3
- %h4.prepend-top-0
- Protected tags
- %p.prepend-top-20
- By default, Protected tags are designed to:
- %ul
- %li Prevent tag creation by everybody except Masters
- %li Prevent <strong>anyone</strong> from updating the tag
- %li Prevent <strong>anyone</strong> from deleting the tag
- .col-lg-9
- - if can? current_user, :admin_project, @project
- = render 'projects/protected_tags/create_protected_tag'
+- content_for :create_protected_tag do
+ = render 'projects/protected_tags/create_protected_tag'
- = render "projects/protected_tags/tags_list"
+- content_for :tag_list do
+ = render "projects/protected_tags/tags_list"
+
+= render 'projects/protected_tags/shared/index'