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:
authorbarthc <mackintosh02@gmail.com>2016-09-01 20:23:39 +0300
committerbarthc <mackintosh02@gmail.com>2016-10-05 11:57:54 +0300
commit35ced4dae480d61ddc4d73eb4695626ecc419e9c (patch)
treea3c9d9cec9c9741884ef5d4dbed0402e61a62f5d /app/views/projects/group_links
parent4dc61dc7128608ce5eca4b0911d7174a1ab2aea4 (diff)
fix group links 404
Diffstat (limited to 'app/views/projects/group_links')
-rw-r--r--app/views/projects/group_links/index.html.haml4
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