X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d377e8b4f23e6bad925eb2efa904baa7e1531fa6..c1cdddf11f363d24f7c18b3e9df15e1bde3c4302:/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] %>