]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/note.html.erb
Restore autofocusing of the search field
[rails.git] / app / views / browse / note.html.erb
index d35ac84191a3efeb617df845ecc29e2effe6bc5b..5ab29e0d1d0b958f8322b10ad02c9d144eea552d 100644 (file)
@@ -1,4 +1,4 @@
-<% set_title("#{t('browse.note.title')} | #{@note.id}") %>
+<% set_title(t('browse.note.title', :id => @note.id)) %>
 
 <h2>
   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
@@ -11,8 +11,7 @@
     <%= h(@note.comments.first.body.to_html) %>
   </div>
 
-  <div class="details" data-coordinates="<%= number_with_delimiter(@note.lat) %>,<%=number_with_delimiter(@note.lon) %>" data-status="<%= @note.status %>">
-      <br/>
+  <div class="details" data-coordinates="<%= @note.lat %>,<%= @note.lon %>" data-status="<%= @note.status %>">
     <%= note_event('open', @note.created_at, @note.author) %>
     <% if @note.status == "closed" %>
       <br/>