]> git.openstreetmap.org Git - rails.git/blob - app/views/diary_entries/_location.html.erb
Merge remote-tracking branch 'upstream/pull/5017'
[rails.git] / app / views / diary_entries / _location.html.erb
1 <%= t ".location" %>
2
3 <%= link_to root_path(:anchor => "map=14/#{location.latitude}/#{location.longitude}") do
4       tag.abbr :class => "geo",
5                :title => t(".coordinates", :latitude => number_with_precision(location.latitude, :precision => 4),
6                                            :longitude => number_with_precision(location.longitude, :precision => 4)) do
7         describe_location location.latitude, location.longitude, 14, location.language_code
8       end
9     end %>