X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d377e8b4f23e6bad925eb2efa904baa7e1531fa6..e8e4aa53d49c1f16aa11961cdc7a14e834a4a541:/app/views/layouts/_flash.html.erb diff --git a/app/views/layouts/_flash.html.erb b/app/views/layouts/_flash.html.erb index 2ba8ee95d..0f39c4a47 100644 --- a/app/views/layouts/_flash.html.erb +++ b/app/views/layouts/_flash.html.erb @@ -1,8 +1,8 @@ <% if flash[:error] %>
- " type="image/svg+xml"> - <%= image_tag("notice.png", :class => "small_icon", :border => 0) %> + " type="image/svg+xml" /> + <%= image_tag("notice.png", :srcset => image_path("notice.svg"), :class => "small_icon", :border => 0) %>
<%= flash[:error] %>
@@ -11,8 +11,8 @@ <% if flash[:warning] %>
- " type="image/svg+xml"> - <%= image_tag("notice.png", :class => "small_icon", :border => 0) %> + " type="image/svg+xml"> + <%= image_tag("notice.png", :srcset => image_path("notice.svg"), :class => "small_icon", :border => 0) %>
<%= flash[:warning] %>
@@ -21,8 +21,8 @@ <% if flash[:notice] %>
- " type="image/svg+xml"> - <%= image_tag("notice.png", :class => "small_icon", :border => 0) %> + " type="image/svg+xml"> + <%= image_tag("notice.png", :srcset => image_path("notice.svg"), :class => "small_icon", :border => 0) %>
<%= flash[:notice] %>