diff options
author | Dennis Tang <dennis@dennistang.net> | 2018-09-26 12:41:37 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2018-09-26 12:41:37 +0300 |
commit | 715221d629e922261b34920d3e9638c2d78ef1bb (patch) | |
tree | 70cd9f4bebb4aa7c5b2ea1d6644c2babf1bdc4fc /app/views/projects/edit.html.haml | |
parent | 03e092065ecda656bc493a303bf6ebe02b67f6ff (diff) |
Preserve order of project tags list
Diffstat (limited to 'app/views/projects/edit.html.haml')
-rw-r--r-- | app/views/projects/edit.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml index 96ab582b050..bfd165d8ba5 100644 --- a/app/views/projects/edit.html.haml +++ b/app/views/projects/edit.html.haml @@ -40,7 +40,7 @@ .form-group = f.label :tag_list, "Tags", class: 'label-bold' - = f.text_field :tag_list, value: @project.tag_list.sort.join(', '), maxlength: 2000, class: "form-control" + = f.text_field :tag_list, value: @project.tag_list.join(', '), maxlength: 2000, class: "form-control" %p.form-text.text-muted Separate tags with commas. %fieldset.features %h5.prepend-top-0= _("Project avatar") |