X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ef40b61ff40881966ae4280cfdcb9f92965e9d10..a5d8839abfdc682710c0f5dd6af6069ad09c07ba:/app/views/layouts/site.html.erb
diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb
index d1983a9f0..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 @@