Sha256: c601351c6641d751216924f6a3b64d7bd6812ecc022ea24733f539af91769ade

Contents?: true

Size: 481 Bytes

Versions: 8

Compression:

Stored size: 481 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

8 entries across 8 versions & 1 rubygems

Version Path
udongo-6.4.1 app/views/backend/content/_picture.html.erb
udongo-6.4.0 app/views/backend/content/_picture.html.erb
udongo-6.3.2 app/views/backend/content/_picture.html.erb
udongo-6.3.1 app/views/backend/content/_picture.html.erb
udongo-6.3.0 app/views/backend/content/_picture.html.erb
udongo-6.2.1 app/views/backend/content/_picture.html.erb
udongo-6.2.0 app/views/backend/content/_picture.html.erb
udongo-6.1.0 app/views/backend/content/_picture.html.erb