Sha256: ec0bbbfdbe17e097158b26ccbbfba5ec29e79e0d28bdd89a57df556084fe9e23

Contents?: true

Size: 315 Bytes

Versions: 45

Compression:

Stored size: 315 Bytes

Contents

<div class="relative p-3 bg-blue-gray-200 grid grid-cols-3 xl:grid-cols-4 gap-3 rounded-xl">
  <% @field.value.attachments.each do |file| %>
    <%= render Avo::Common::MultipleFileViewerComponent.new id: @field.id, file: file, is_image: @field.is_image, button_size: :xs, resource: @resource %>
  <% end %>
</div>

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
avo-0.5.0.beta5 app/components/avo/common/files_list_viewer_component.html.erb
avo-0.5.0.beta4 app/components/avo/common/files_list_viewer_component.html.erb
avo-0.5.0.beta3 app/components/avo/common/files_list_viewer_component.html.erb
avo-0.5.0.beta2 app/components/avo/common/files_list_viewer_component.html.erb
avo-0.5.0.beta1 app/components/avo/common/files_list_viewer_component.html.erb