X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0166abe88a2c082500f208d6f6be1343e6d0bedd..58bb08aba8d55ee1b897f0846688ea642a409e77:/app/views/layouts/site.html.erb
diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb
index 89b33ab05..d4626d143 100644
--- a/app/views/layouts/site.html.erb
+++ b/app/views/layouts/site.html.erb
@@ -18,8 +18,14 @@
- <% if @notice || flash[:notice] %>
-
<%= @notice || flash[:notice] %>
+ <% if flash[:error] %>
+
<%= flash[:error] %>
+ <% end %>
+ <% if flash[:warning] %>
+
<%= flash[:warning] %>
+ <% end %>
+ <% if flash[:notice] %>
+
<%= flash[:notice] %>
<% end %>
<%= yield %>
@@ -115,7 +121,7 @@