summaryrefslogtreecommitdiff
path: root/app/views/projects/edit.html.haml
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-03-23 16:00:47 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-03-23 16:00:47 +0800
commit62423f28f746a0bc287097fcb5241b29359692e8 (patch)
tree9831e9954030cae55c497c09fa4425d0686e21b9 /app/views/projects/edit.html.haml
parent3918c303b967e33ec924d7435ba4e7fcac136c9a (diff)
downloadgitlab-ce-62423f28f746a0bc287097fcb5241b29359692e8.tar.gz
Fix project tag order because we assume so in test
See https://gitlab.com/gitlab-org/gitlab-ce/builds/12778220 found in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10156
Diffstat (limited to 'app/views/projects/edit.html.haml')
-rw-r--r--app/views/projects/edit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml
index 2802a4eca7b..82e0d0025ec 100644
--- a/app/views/projects/edit.html.haml
+++ b/app/views/projects/edit.html.haml
@@ -31,7 +31,7 @@
= f.select(:default_branch, @project.repository.branch_names, {}, {class: 'select2 select-wide'})
.form-group
= f.label :tag_list, "Tags", class: 'label-light'
- = f.text_field :tag_list, value: @project.tag_list.to_s, maxlength: 2000, class: "form-control"
+ = f.text_field :tag_list, value: @project.tag_list.sort.join(', '), maxlength: 2000, class: "form-control"
%p.help-block Separate tags with commas.
%hr
%fieldset