Sha256: 4c6e525e98b6689d58f9d7e12f28af629575fb948bdaa4c04c52a9d1f996afb8
Contents?: true
Size: 555 Bytes
Versions: 14
Compression:
Stored size: 555 Bytes
Contents
<% object ||= current_attributes_object %> <% strategy ||= current_attributes_strategy || :none %> <% url ||= nil %> <% options ||= {} %> <% options[:height] ||= 200 %> <% if cloudinary_enabled? %> <%# TODO: How do we attach mutliple cloundinary images? %> <%= cloudinary_image_tag object.public_send(attribute), options %> <% else %> <% if object.public_send(attribute).attached? %> <% object.send(attribute).each do |image| %> <%= image_tag photo_url_for_active_storage_attachment(image, options) %> <% end %> <% end %> <% end %>
Version data entries
14 entries across 14 versions & 1 rubygems