]> git.openstreetmap.org Git - rails.git/blob - app/views/layouts/slim.html.erb
Merge branch 'master' into openstreetbugs
[rails.git] / app / views / layouts / slim.html.erb
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= I18n.locale %>" lang="<%= I18n.locale %>" dir="<%= t'html.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_content">
8           <%= render :partial => "layouts/flash", :locals => { :flash => flash } %>
9
10           <%= yield %>
11         </div>
12
13         <div id="slim_header">
14           <h1><%= image_tag("osm_logo.png", :size => "60x60", :border => 0, :alt => t('layouts.logo.alt_text')) %><%= t 'layouts.project_name.h1' %></h1>
15         </div>
16       </div>
17     </div>
18   </body>
19 </html>