X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1c5642637a87ab250d2a1204cc83a578e7aa29f1..50f658142be71156945d5ab3a73ae3851365768b:/app/views/layouts/_flash.html.erb
diff --git a/app/views/layouts/_flash.html.erb b/app/views/layouts/_flash.html.erb
index 0f39c4a47..5dda3ad5c 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 %>