Skip to content
Snippets Groups Projects
Unverified Commit 2680c0fc authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

do not call kamifusen_tag on variant

parent 441778e0
No related branches found
No related tags found
No related merge requests found
<% block.template.elements.first(4).each do |element| %>
<%
component = element.image_component
blob = component.blob
next unless blob
image = blob.representable? ? blob.representation(resize: 'x180')
: blob
%>
<%= kamifusen_tag image, height: 90, alt: '', class: 'me-2' %>
<% blob = element.image_component.blob %>
<%= kamifusen_tag blob, height: 90, alt: '', class: 'me-2' if blob %>
<% end %>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment