X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/001ff5764bcf15aaa179dc5c7844038676536622..7f598ab412674ce5a78da98c54aa2fe2e4a05792:/app/views/layouts/slim.html.erb 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 %>