X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/7599f98957334d1924550205f7ba12a726de7eb0..31c80f66463a143c12b3d6e1395a034d11a812ba:/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 %>