X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d377e8b4f23e6bad925eb2efa904baa7e1531fa6..c71fd544e0b33246dfcc677ec830efc2031d419e:/app/views/layouts/_flash.html.erb?ds=inline 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] %>