<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>
+ <div class="message"><%= render_flash(flash[:error]) %></div>
</div>
<% end %>
<source srcset="<%= image_path "notice.svg" %>" type="image/svg+xml"></source>
<%= image_tag("notice.png", :srcset => image_path("notice.svg"), :class => "small_icon", :border => 0) %>
</picture>
- <div class="message"><%= flash[:warning] %></div>
+ <div class="message"><%= render_flash(flash[:warning]) %></div>
</div>
<% end %>
<source srcset="<%= image_path "notice.svg" %>" type="image/svg+xml"></source>
<%= image_tag("notice.png", :srcset => image_path("notice.svg"), :class => "small_icon", :border => 0) %>
</picture>
- <div class="message"><%= flash[:notice] %></div>
+ <div class="message"><%= render_flash(flash[:notice]) %></div>
</div>
<% end %>