diff options
author | gfyoung <gfyoung17@gmail.com> | 2016-11-05 03:50:07 -0400 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2016-11-10 13:54:37 -0500 |
commit | 579090c3a0ed1e88ac3cfa0ed9666e195b1fdf19 (patch) | |
tree | cf2e977ed387249aaeb7698e290cb6cc4d0ff154 /app/views/groups | |
parent | f3231d0f634dc1e8bc9d7d69eaba1f660cd26e36 (diff) | |
download | gitlab-ce-579090c3a0ed1e88ac3cfa0ed9666e195b1fdf19.tar.gz |
Require projects before creating milestone
Diffstat (limited to 'app/views/groups')
-rw-r--r-- | app/views/groups/milestones/new.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/groups/milestones/new.html.haml b/app/views/groups/milestones/new.html.haml index 23d438b2aa1..0dfaf743992 100644 --- a/app/views/groups/milestones/new.html.haml +++ b/app/views/groups/milestones/new.html.haml @@ -34,7 +34,7 @@ = f.label :projects, "Projects", class: "control-label" .col-sm-10 = f.collection_select :project_ids, @group.projects.non_archived, :id, :name, - { selected: @group.projects.non_archived.pluck(:id) }, multiple: true, class: 'select2' + { selected: @group.projects.non_archived.pluck(:id) }, required: true, multiple: true, class: 'select2' .col-md-6 .form-group |