X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c9fb1466085e7822a5dff22b2a2006d02b804178..a62141ce7f745fa67b5f04f216f5b47f78c10e78:/app/views/notes/_description.html.erb diff --git a/app/views/notes/_description.html.erb b/app/views/notes/_description.html.erb index 596d63269..4f03a1d59 100644 --- a/app/views/notes/_description.html.erb +++ b/app/views/notes/_description.html.erb @@ -1,8 +1,3 @@
- <% description.comments.each do |comment| -%> -
-
<%= t "note.description.#{comment.event}_at_by", :when => friendly_date(comment.created_at), :user => note_author(comment, :only_path => false) %>
-
<%= comment.body %>
-
- <% end -%> + <%= render :partial => "comment", :collection => description.comments %>