X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2cea4e0d98f6780d16165c394b18b50bbbe35cd0..7381dad23bcb737d5b08a73027eda9a80c3ef293:/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 @@