Sha256: cfce7de3e2143a40b76021341fd8c08c3ffe130c146a540b8752192205b120ac

Contents?: true

Size: 655 Bytes

Versions: 202

Compression:

Stored size: 655 Bytes

Contents

<%= content_tag :div, class: wrapper_classes do %>
  <%= turbo_frame_tag @field.id do %>
    <% unless @field.hide_view_type_switcher %>
      <div class="justify-self-end flex justify-end items-center space-x-3">
        <%= render partial: 'avo/partials/view_toggle_button',
          locals: {
            available_view_types: available_view_types,
            view_type: view_type,
            turbo_frame: @field.id,
          }
        %>
      </div>
    <% end %>
    <div class="<%= classes %>">
      <% @field.value.attachments.each do |file| %>
        <%= render view_type_component(file) %>
      <% end %>
    </div>
  <% end %>
<% end %>

Version data entries

202 entries across 202 versions & 1 rubygems

Version Path
avo-3.3.2 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-3.3.1 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-2.47.0 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-3.3.0 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-3.2.3 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-3.0.1.beta23 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-3.0.1.beta20 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-3.0.1.beta21 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-3.0.1.beta17 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-3.0.1.beta22 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-3.0.1.beta18 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-3.0.1.beta19 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-3.0.1.beta24 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-3.0.1.beta15 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-3.0.1.beta16 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-3.0.1.beta14 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-3.0.1.beta12 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-3.0.1.beta13 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-3.0.1.beta10 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-3.0.1.beta11 app/components/avo/fields/common/files/list_viewer_component.html.erb