X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d377e8b4f23e6bad925eb2efa904baa7e1531fa6..0e810db9277bbeff0bd92f73e3886010d14b4377:/app/views/layouts/_flash.html.erb diff --git a/app/views/layouts/_flash.html.erb b/app/views/layouts/_flash.html.erb index 2ba8ee95d..8b04dac91 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] %>