X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6adcce4e5d75fa21dea85742fa36ee3b97247b01..6b55cce25c2ed58c6513ae7f3f5dd24518cb489e:/app/views/layouts/_content.html.erb?ds=sidebyside diff --git a/app/views/layouts/_content.html.erb b/app/views/layouts/_content.html.erb index e6e737c21..9e28c0771 100644 --- a/app/views/layouts/_content.html.erb +++ b/app/views/layouts/_content.html.erb @@ -1,15 +1,19 @@ -
+
<% if content_for? :content %> <%= yield :content %> <% else %> <%= render :partial => "layouts/flash", :locals => { :flash => flash } %> <% if content_for? :heading %> -
- <%= yield :heading %> +
+
+ <%= yield :heading %> +
<% end %>
- <%= yield %> +
+ <%= yield %> +
<% end %>