X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/eb0f9ff63d5ad5d91ea941420e094dd2980df094..d9ed74265ff1cd290beb85612e409e6748a92f60:/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 @@