X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a570f59187efa0a298d31bae2b224de9762bb42f..afce5886f41aae45d55bd21b0a2ada8f78659873:/app/views/layouts/_flash.html.erb
diff --git a/app/views/layouts/_flash.html.erb b/app/views/layouts/_flash.html.erb
index 0f39c4a47..f8eabaeb3 100644
--- a/app/views/layouts/_flash.html.erb
+++ b/app/views/layouts/_flash.html.erb
@@ -1,29 +1,35 @@
<% if flash[:error] %>
-
-
-
<%= flash[:error] %>
+
+
+
+
+
<%= render_flash(flash[:error]) %>
<% end %>
<% if flash[:warning] %>
-
-
-
<%= flash[:warning] %>
+
+
+
+
+
<%= render_flash(flash[:warning]) %>
<% end %>
<% if flash[:notice] %>
-
-
-
<%= flash[:notice] %>
+
+
+
+
+
<%= render_flash(flash[:notice]) %>
<% end %>