X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/59bfcb161db1444b1e6b0e5a1de7debc62913c24..bb83f28a5e9326be55a431d5c3f7b4ae7529a942:/app/views/layouts/site.html.erb?ds=sidebyside
diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb
index b3f614257..d04a2877f 100644
--- a/app/views/layouts/site.html.erb
+++ b/app/views/layouts/site.html.erb
@@ -1,34 +1,9 @@
-
-
- <% if flash[:error] %>
-
<%= flash[:error] %>
- <% end %>
- <% if flash[:warning] %>
-
<%= flash[:warning] %>
- <% end %>
- <% if flash[:notice] %>
-
<%= flash[:notice] %>
- <% end %>
+ <%= render :partial => "layouts/flash", :locals => { :flash => flash } %>
<%= yield %>