Sha256: 806fb17d2c773f69d102467f9e957dc0ac390ac42e2627c44fba1651d37ca647

Contents?: true

Size: 1.08 KB

Versions: 4

Compression:

Stored size: 1.08 KB

Contents

<div class="">
  <div
   class="dropzone dropzone-default dz-clickable"
   data-controller="dropzonegem"
   data-dropzonegem-max-file-size="<%= field.drop_max_file_size? %>"
   data-dropzonegem-max-files="<%= field.drop_max_file? %>"
   data-dropzonegem-accepted-files="<%= field.drop_accepted_files? %>"
   data-dropzonegem-add-remove-links="hello">
    <%= f.file_field field.attribute, multiple: field.many?, direct_upload: field.direct?, data: { target: 'dropzonegem.inputdropzonegem' } %>
    <div class="dropzone-msg dz-message needsclick text-gray-600">
      <h3 class="dropzone-msg-title">Drag & Drop ici ou cliquer pour selectionner</h3>
      <span class="dropzone-msg-desc text-sm">
        <%= field.drop_max_file_size? %>
        MB par fichier. Les fichiers autorisés :
        <%= field.drop_accepted_files? %>. <br>
        Un maximum de
        <%= field.drop_max_file? %> fichiers autorisés.
      </span>
    </div>
    <div id="tpl" style='display:none'>
      <%= render partial: 'fields/active_storage/dropjs_template'%>
    </div>
    <%#= render 'ulFordropjs' %>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
viniBaxter-field-active_storage-11.0.2 app/views/fields/active_storage/_dropjs_items.html.erb
viniBaxter-field-active_storage-11.0.1 app/views/fields/active_storage/_dropjs_items.html.erb
viniBaxter-field-active_storage-11.0.0 app/views/fields/active_storage/_dropjs_items.html.erb
viniBaxter-field-active_storage-10.0.0 app/views/fields/active_storage/_dropjs_items.html.erb