X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8980da4381923d8099a11a1334baf3c3e625a484..5e17fa82497dabca91432f223ce4a17554511086:/app/views/layouts/slim.html.erb?ds=sidebyside diff --git a/app/views/layouts/slim.html.erb b/app/views/layouts/slim.html.erb index 862f55d87..72cfcec31 100644 --- a/app/views/layouts/slim.html.erb +++ b/app/views/layouts/slim.html.erb @@ -1,17 +1,23 @@ - - + + <%= render :partial => "layouts/head" %>
+
+

<%= image_tag("osm_logo.png", :size => "60x60", :border => 0, :alt => t('layouts.logo.alt_text')) %><%= t 'layouts.project_name.h1' %>

+
+
<%= render :partial => "layouts/flash", :locals => { :flash => flash } %> - <%= yield %> -
+ <% if content_for? :heading %> +
+ <%= yield :heading %> +
+ <% end %> -
-

<%= image_tag("osm_logo.png", :size => "60x60", :border => 0, :alt => t('layouts.logo.alt_text')) %><%= t 'layouts.project_name.h1' %>

+ <%= yield %>