]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entries/_location.html.erb
Replace to_s on TimeWithZone objects with to_formatted_s
[rails.git] / app / views / diary_entries / _location.html.erb
index 6828cd4dc282b536567731a55ede2bcaa4d5e12a..d5860f11d8e4db5e549b331d0dd3be2ca52754d2 100644 (file)
@@ -1,7 +1,7 @@
-<%= t '.location' %>
+<%= t ".location" %>
 
-<a href="<%= url_for :controller => 'site', :action => 'index', :anchor => "map=14/#{location.latitude}/#{location.longitude}" %>">
-<abbr class="geo" title="<%= number_with_precision(location.latitude, :precision => 4) %>; <%= number_with_precision(location.longitude, :precision => 4) %>">
+<a href="<%= url_for :controller => "site", :action => "index", :anchor => "map=14/#{location.latitude}/#{location.longitude}" %>">
+<abbr class="geo" title="<%= t ".coordinates", :latitude => number_with_precision(location.latitude, :precision => 4), :longitude => number_with_precision(location.longitude, :precision => 4) %>">
 <%= describe_location location.latitude, location.longitude, 14, location.language_code %>
 </abbr>
 </a>