Sha256: 4f56fc19df41a4ba12bf273027982d85c46dd7bd02f18938f913b2760841829f

Contents?: true

Size: 1.24 KB

Versions: 9

Compression:

Stored size: 1.24 KB

Contents

<% 
  attachments = Array(field.many? ? field.attachments : field.data)
  removable = local_assigns.fetch(:removable, false)
%>
<div class="mt-5 col-12 ">
  <div class="row">
    <div class="col-12">
      <div class="card card light-shadow card-fill">
        <div class="card-header">
          <h4 class="card-header-title">
            Latest Uploads
          </h4>
        </div>
        <div class="card-body">
          <div class="already-downloaded dropzone">
            <div class="list-group list-group-flush">
              <div class="list-group-item">
                <div class="row align-items-center">
                  <% attachments.each do |attachment| %>
                    <div class="" id="<%= @page.class %>_picture_<%= attachment.id %>">
                      <%= render partial: 'fields/active_storage/drop_js/dropjs_list_edit', locals: { 
                      field: field, 
                      attachment: attachment, 
                      removable: removable, 
                      image_size: field.show_preview_size 
                      }%>
                    </div>
                  <% end %>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
viniBaxter-field-active_storage-300.0.15 app/views/fields/active_storage/drop_js/_drop_js_items_on_edit.html.erb
viniBaxter-field-active_storage-300.0.11 app/views/fields/active_storage/drop_js/_drop_js_items_on_edit.html.erb
viniBaxter-field-active_storage-300.0.10 app/views/fields/active_storage/drop_js/_drop_js_items_on_edit.html.erb
viniBaxter-field-active_storage-300.0.9 app/views/fields/active_storage/drop_js/_drop_js_items_on_edit.html.erb
viniBaxter-field-active_storage-300.0.8 app/views/fields/active_storage/drop_js/_drop_js_items_on_edit.html.erb
viniBaxter-field-active_storage-300.0.4 app/views/fields/active_storage/drop_js/_drop_js_items_on_edit.html.erb
viniBaxter-field-active_storage-300.0.2 app/views/fields/active_storage/drop_js/_drop_js_items_on_edit.html.erb
viniBaxter-field-active_storage-16.0.0 app/views/fields/active_storage/drop_js/_drop_js_items_on_edit.html.erb
viniBaxter-field-active_storage-15.0.0 app/views/fields/active_storage/drop_js/_drop_js_items_on_edit.html.erb