]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/way.html.erb
Fix missing </div> and wrong translation names in layout database offline alert box.
[rails.git] / app / views / browse / way.html.erb
1 <%
2 @name = printable_name @way
3 @title = t('browse.way.way') + ' | ' + @name
4 %>
5 <table width="100%">
6   <tr>
7     <td>
8       <h2><%= t'browse.way.way_title', :way_name => h(@name) %></h2>
9     </td>
10     <td>
11       <%= render :partial => "navigation" %>
12     </td>
13   </tr>
14   <tr valign="top">
15     <td>
16       <%= render :partial => "way_details", :object => @way %>
17       <hr />
18       <%= t'browse.way.download', :download_xml_link => link_to(t('browse.way.download_xml'), :controller => "way", :action => "read"), 
19                                   :view_history_link => link_to(t('browse.way.view_history'), :action => "way_history") %>
20     </td>
21     <%= render :partial => "map", :object => @way %>
22   </tr>
23 </table>