Sha256: ec1f58aba1cd195db77d8fe1030f041dee9805fbd301f57edf98434e03137fd5

Contents?: true

Size: 388 Bytes

Versions: 61

Compression:

Stored size: 388 Bytes

Contents

<% object ||= current_attributes_object %>
<% strategy ||= current_attributes_strategy || :none %>
<% url ||= nil %>
<% options ||= {} %>
<% options[:height] ||= 200 %>

<% if cloudinary_enabled? %>
  <%= cloudinary_image_tag object.public_send(attribute), options %>
<% else %>
  <%= image_tag photo_url_for_active_storage_attachment(object.public_send(attribute), options) %>
<% end %>

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
bullet_train-themes-1.7.16 app/views/themes/base/attributes/_image.html.erb
bullet_train-themes-1.7.15 app/views/themes/base/attributes/_image.html.erb
bullet_train-themes-1.7.14 app/views/themes/base/attributes/_image.html.erb
bullet_train-themes-1.7.13 app/views/themes/base/attributes/_image.html.erb
bullet_train-themes-1.7.12 app/views/themes/base/attributes/_image.html.erb
bullet_train-themes-1.7.11 app/views/themes/base/attributes/_image.html.erb
bullet_train-themes-1.7.10 app/views/themes/base/attributes/_image.html.erb
bullet_train-themes-1.7.9 app/views/themes/base/attributes/_image.html.erb
bullet_train-themes-1.7.3 app/views/themes/base/attributes/_image.html.erb
bullet_train-themes-1.7.2 app/views/themes/base/attributes/_image.html.erb
bullet_train-themes-1.7.1 app/views/themes/base/attributes/_image.html.erb
bullet_train-themes-1.7.0 app/views/themes/base/attributes/_image.html.erb
bullet_train-themes-1.6.38 app/views/themes/base/attributes/_image.html.erb
bullet_train-themes-1.6.37 app/views/themes/base/attributes/_image.html.erb
bullet_train-themes-1.6.36 app/views/themes/base/attributes/_image.html.erb
bullet_train-themes-1.6.35 app/views/themes/base/attributes/_image.html.erb
bullet_train-themes-1.6.34 app/views/themes/base/attributes/_image.html.erb
bullet_train-themes-1.6.33 app/views/themes/base/attributes/_image.html.erb
bullet_train-themes-1.6.32 app/views/themes/base/attributes/_image.html.erb
bullet_train-themes-1.6.31 app/views/themes/base/attributes/_image.html.erb