X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c426e8d160101faaa414330a0ccd641d03bef65a..315d1dab540ad5c11e7a22201387327525578229:/app/views/layouts/slim.html.erb?ds=inline diff --git a/app/views/layouts/slim.html.erb b/app/views/layouts/slim.html.erb index ba02104f4..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 %>