]> git.openstreetmap.org Git - rails.git/blob - app/views/diary_entries/_location.html.erb
JSON: return HTTP 406 for unsupported formats
[rails.git] / app / views / diary_entries / _location.html.erb
1 <%= t ".location" %>
2
3 <a href="<%= url_for :controller => "site", :action => "index", :anchor => "map=14/#{location.latitude}/#{location.longitude}" %>">
4 <abbr class="geo" title="<%= number_with_precision(location.latitude, :precision => 4) %>; <%= number_with_precision(location.longitude, :precision => 4) %>">
5 <%= describe_location location.latitude, location.longitude, 14, location.language_code %>
6 </abbr>
7 </a>