Sha256: cfce7de3e2143a40b76021341fd8c08c3ffe130c146a540b8752192205b120ac

Contents?: true

Size: 655 Bytes

Versions: 171

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

171 entries across 171 versions & 1 rubygems

Version Path
avo-2.33.1 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-2.33.0 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-2.32.6 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-2.32.5 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-2.32.4 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-2.32.3 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-2.32.2 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-2.32.1 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-2.32.0 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-2.31.0 app/components/avo/fields/common/files/list_viewer_component.html.erb
avo-2.30.2 app/components/avo/fields/common/files/list_viewer_component.html.erb