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