X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3d7eb387a7c3573f1a1d17df00adcaa1fb9b9fa5..a51509c668cb09a28ed35c6cb1a76d15f9afcaa5:/app/views/browse/_map.html.erb diff --git a/app/views/browse/_map.html.erb b/app/views/browse/_map.html.erb index cf59a4679..ed3cc0faf 100644 --- a/app/views/browse/_map.html.erb +++ b/app/views/browse/_map.html.erb @@ -22,6 +22,7 @@ elsif map.instance_of? Note data = { :type => "note", + :id => map.id, :lon => map.lon, :lat => map.lat } @@ -52,7 +53,7 @@ <% end -%>
  • - <%= link_to h(t("browse.map.edit.area")) + content_tag(:span, "▾", :class => "menuicon"), + <%= link_to h(t("browse.map.edit.area")) + content_tag(:span, "▼", :class => "menuicon"), edit_path, :id => "area_edit", :data => { :editor => preferred_editor }, @@ -60,7 +61,7 @@
  • - <% unless map.instance_of? Changeset or map.instance_of? Note %> + <% unless map.instance_of? Changeset %>