X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8980da4381923d8099a11a1334baf3c3e625a484..8b840c650629d45e79f99811e9062aea5e130e33:/app/views/layouts/_flash.html.erb?ds=sidebyside diff --git a/app/views/layouts/_flash.html.erb b/app/views/layouts/_flash.html.erb index da559d55c..d8adbd0fd 100644 --- a/app/views/layouts/_flash.html.erb +++ b/app/views/layouts/_flash.html.erb @@ -1,11 +1,26 @@ <% if flash[:error] %> -
<%= flash[:error] %>
+
+
+ <%= notice_svg_tag %> +
+
<%= render_flash(flash[:error]) %>
+
<% end %> <% if flash[:warning] %> -
<%= flash[:warning] %>
+
+
+ <%= notice_svg_tag %> +
+
<%= render_flash(flash[:warning]) %>
+
<% end %> <% if flash[:notice] %> -
<%= flash[:notice] %>
+
+
+ <%= notice_svg_tag %> +
+
<%= render_flash(flash[:notice]) %>
+
<% end %>