X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2e2f2124728ca755b2db8f83f022eaea24b647f0..ebbcf63f0d910458ae255a84de794e3ccede7a7a:/app/views/trace/_trace.html.erb diff --git a/app/views/trace/_trace.html.erb b/app/views/trace/_trace.html.erb index 4e1733148..d38fa2f4c 100644 --- a/app/views/trace/_trace.html.erb +++ b/app/views/trace/_trace.html.erb @@ -27,8 +27,8 @@ <%= t'trace.trace.by' %> <%=link_to h(trace.user.display_name), {:controller => 'user', :action => 'view', :display_name => trace.user.display_name} %> <% if !trace.tags.empty? %> <%= t'trace.trace.in' %> - <% trace.tags.each do |tag| %> - <%= link_to_tag tag.tag %> + <% trace.tags.each_with_index do |tag, index| %> + <%= link_to_tag tag.tag %><%=', ' if index+1 < trace.tags.count %> <% end %> <% end %>