]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/traces/_description.html.erb
Use faraday http client for nominatim lookups
[rails.git] / app / views / traces / _description.html.erb
index d77173730b7ae5d22b0d72f632c1affbc7ed1528..538e7f1ec39222745b9a9aabe5a74f93c95447c8 100644 (file)
@@ -1,6 +1,6 @@
-<%= image_tag trace_icon_url(description.user, description.id) %>
-<% if description.size -%>
-<%= t ".description_with_count", :count => description.size, :user => description.user.display_name %>
+<%= image_tag trace_icon_url(trace.user, trace) %>
+<% if trace.size -%>
+<%= t ".description_with_count", :count => trace.size, :user => trace.user.display_name %>
 <% else -%>
 <% else -%>
-<%= t ".description_without_count", :user => description.user.display_name %>
+<%= t ".description_without_count", :user => trace.user.display_name %>
 <% end -%>
 <% end -%>