Sha256: 5ac150b0036c92e44144bcdf06a1e931d2776832686a33673aa4fe119e1aedef

Contents?: true

Size: 482 Bytes

Versions: 16

Compression:

Stored size: 482 Bytes

Contents

<% if object.present? && object.asset.present? %>

  <%= image_tag object.asset.image.url(1100, 1100, quality: 65), alt: '', class: 'img-fluid' %>

  <% if object.caption.present? %>
    <% if Udongo.config.flexible_content.picture_caption_editor? %>
      <%= object.caption.html_safe %>
    <% else %>
      <div class="text-center">
        <%= object.caption %>
      </div>
    <% end %>
  <% end %>

<% else %>
  <%= t 'b.msg.flexible_content.no_picture_present' %>
<% end %>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
udongo-7.1.3 app/views/backend/content/_picture.html.erb
udongo-7.1.2 app/views/backend/content/_picture.html.erb
udongo-7.1.1 app/views/backend/content/_picture.html.erb
udongo-7.1.0 app/views/backend/content/_picture.html.erb
udongo-7.0.4 app/views/backend/content/_picture.html.erb
udongo-7.0.3 app/views/backend/content/_picture.html.erb
udongo-7.0.2 app/views/backend/content/_picture.html.erb
udongo-7.0.1 app/views/backend/content/_picture.html.erb
udongo-7.0.0 app/views/backend/content/_picture.html.erb
udongo-6.6.3 app/views/backend/content/_picture.html.erb
udongo-6.6.2 app/views/backend/content/_picture.html.erb
udongo-6.6.1 app/views/backend/content/_picture.html.erb
udongo-6.6.0 app/views/backend/content/_picture.html.erb
udongo-6.5.2 app/views/backend/content/_picture.html.erb
udongo-6.5.1 app/views/backend/content/_picture.html.erb
udongo-6.5.0 app/views/backend/content/_picture.html.erb