diff options
author | barthc <mackintosh02@gmail.com> | 2016-09-01 20:23:39 +0300 |
---|---|---|
committer | barthc <mackintosh02@gmail.com> | 2016-10-05 11:57:54 +0300 |
commit | 35ced4dae480d61ddc4d73eb4695626ecc419e9c (patch) | |
tree | a3c9d9cec9c9741884ef5d4dbed0402e61a62f5d /app/views/projects/group_links | |
parent | 4dc61dc7128608ce5eca4b0911d7174a1ab2aea4 (diff) |
fix group links 404
Diffstat (limited to 'app/views/projects/group_links')
-rw-r--r-- | app/views/projects/group_links/index.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/group_links/index.html.haml b/app/views/projects/group_links/index.html.haml index ca700cb3a3b..4c5dd9b88bf 100644 --- a/app/views/projects/group_links/index.html.haml +++ b/app/views/projects/group_links/index.html.haml @@ -8,10 +8,10 @@ .col-lg-9 %h5.prepend-top-0 Set a group to share - = form_tag namespace_project_group_links_path(@project.namespace, @project), method: :post do + = form_tag namespace_project_group_links_path(@project.namespace, @project), class: 'js-requires-input', method: :post do .form-group = label_tag :link_group_id, "Group", class: "label-light" - = groups_select_tag(:link_group_id, skip_group: @project.group.try(:path)) + = groups_select_tag(:link_group_id, data: { skip_groups: @skip_groups }, required: true) .form-group = label_tag :link_group_access, "Max access level", class: "label-light" .select-wrapper |