X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d2765cb23d5501b6f10c82afdd90a760674f542f..4af54ce93bd01a4094a4657cf9e54860a7e16bb2:/app/views/layouts/_flash.html.erb
diff --git a/app/views/layouts/_flash.html.erb b/app/views/layouts/_flash.html.erb
index 8b04dac91..eaf3078fe 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 %>