]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/not_found.html.erb
Use named paths for messages
[rails.git] / app / views / browse / not_found.html.erb
1 <%
2   browse_not_found_type = {
3     'node' => I18n.t('.type.node'),
4     'way' => I18n.t('.type.way'),
5     'relation' => I18n.t('.type.relation'),
6     'changeset' => I18n.t('.type.changeset'),
7   };
8 %>
9
10 <h2>
11     <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
12     <%= t '.sorry', :type=> browse_not_found_type[@type] , :id => params[:id] %></h2>