removed end tag ("source" is a self-closing tag)

This commit is contained in:
Kristjan 2019-12-24 23:44:22 +01:00 committed by GitHub
parent f771df86d2
commit ec56eaf0f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
<% if flash[:error] %>
<div class="flash error">
<picture>
<source srcset="<%= image_path "notice.svg" %>" type="image/svg+xml"></source>
<source srcset="<%= image_path "notice.svg" %>" type="image/svg+xml" />
<%= image_tag("notice.png", :srcset => image_path("notice.svg"), :class => "small_icon", :border => 0) %>
</picture>
<div class="message"><%= flash[:error] %></div>