Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2017-04-03 09:12:05 +0300
committerKushal Pandya <kushal@gitlab.com>2017-04-03 09:12:05 +0300
commit48150f273d8b7cc5b042eb0a9f88b0a7a96431f4 (patch)
tree2726af7d87e4519f37f6d92dc340419a54a45a20 /app/views/projects/protected_tags
parent8d232b2f2b1b4d33741925a0baf2eaf74f52008e (diff)
Render Push levels dropdown
Diffstat (limited to 'app/views/projects/protected_tags')
-rw-r--r--app/views/projects/protected_tags/_update_protected_tag.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/protected_tags/_update_protected_tag.haml b/app/views/projects/protected_tags/_update_protected_tag.haml
index 729a784a559..802a5ef3b98 100644
--- a/app/views/projects/protected_tags/_update_protected_tag.haml
+++ b/app/views/projects/protected_tags/_update_protected_tag.haml
@@ -1,5 +1,5 @@
%td
= hidden_field_tag "allowed_to_push_#{protected_tag.id}", protected_tag.push_access_levels.first.access_level
- / = dropdown_tag( (protected_tag.push_access_levels.first.humanize || 'Select') ,
- / options: { toggle_class: 'js-allowed-to-push', dropdown_class: 'dropdown-menu-selectable js-allowed-to-push-container',
- / data: { field_name: "allowed_to_push_#{protected_tag.id}", access_level_id: protected_tag.push_access_levels.first.id }})
+ = dropdown_tag( (protected_tag.push_access_levels.first.humanize || 'Select') ,
+ options: { toggle_class: 'js-allowed-to-push', dropdown_class: 'dropdown-menu-selectable js-allowed-to-push-container',
+ data: { field_name: "allowed_to_push_#{protected_tag.id}", access_level_id: protected_tag.push_access_levels.first.id }})