]> git.openstreetmap.org Git - rails.git/blob - app/views/layouts/slim.html.erb
Restore Copyright & License link
[rails.git] / app / views / layouts / slim.html.erb
1 <!DOCTYPE html>
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= I18n.locale %>" lang="<%= I18n.locale %>" dir="<%= dir %>">
3   <%= render :partial => "layouts/head" %>
4   <body class="slim">
5     <div id="slim_container">
6       <div id="slim_container_content">
7         <div id="slim_header">
8           <h1><%= image_tag("osm_logo.png", :size => "60x60", :border => 0, :alt => t('layouts.logo.alt_text')) %><%= t 'layouts.project_name.h1' %></h1>
9         </div>
10
11         <div id="slim_content">
12           <%= render :partial => "layouts/flash", :locals => { :flash => flash } %>
13
14           <% if content_for? :heading %>
15           <div class="content-heading">
16             <%= yield :heading %>
17           </div>
18           <% end %>
19
20           <%= yield %>
21         </div>
22       </div>
23     </div>
24   </body>
25 </html>