Sha256: 6c41f7a495c0877b7f13192d44c115215fbd8fb6b6f2bcf5aed75f39707a55bd

Contents?: true

Size: 343 Bytes

Versions: 1

Compression:

Stored size: 343 Bytes

Contents

<% size ||= :mini %>
<% itemprop ||= nil %>

<% if image_url = image.try(:url, size) %>
  <% if image_alt = image.try(:alt) %>
    <%= image_tag image_url, alt: image_alt, itemprop: itemprop %>
  <% else %>
    <%= image_tag image_url, itemprop: itemprop %>
  <% end %>
<% else %>
  <div class="image-placeholder <%= size %>"></div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_starter_frontend-0.1.0 app/views/spree/shared/_image.html.erb