diff options
Diffstat (limited to 'app/views/projects/protected_tags/_create_protected_tag.html.haml')
-rw-r--r-- | app/views/projects/protected_tags/_create_protected_tag.html.haml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/projects/protected_tags/_create_protected_tag.html.haml b/app/views/projects/protected_tags/_create_protected_tag.html.haml index 9fdebf2c982..af332f942d6 100644 --- a/app/views/projects/protected_tags/_create_protected_tag.html.haml +++ b/app/views/projects/protected_tags/_create_protected_tag.html.haml @@ -19,14 +19,14 @@ %code production/* are supported .form-group - %label.col-md-2.text-right{ for: 'push_access_levels_attributes' } - Allowed to push: + %label.col-md-2.text-right{ for: 'create_access_levels_attributes' } + Allowed to create: .col-md-10 - .push_access_levels-container + .create_access_levels-container = dropdown_tag('Select', - options: { toggle_class: 'js-allowed-to-push wide', + options: { toggle_class: 'js-allowed-to-create wide', dropdown_class: 'dropdown-menu-selectable', - data: { field_name: 'protected_tag[push_access_levels_attributes][0][access_level]', input_id: 'push_access_levels_attributes' }}) + data: { field_name: 'protected_tag[create_access_levels_attributes][0][access_level]', input_id: 'create_access_levels_attributes' }}) .panel-footer = f.submit 'Protect', class: 'btn-create btn', disabled: true |