Sha256: 9b3787ef971348bcc2b5f29e8ed2b3da3ca847a8da59abc309f05736a53fdb00

Contents?: true

Size: 1.07 KB

Versions: 6

Compression:

Stored size: 1.07 KB

Contents

<div class="">
  <div
   class="dropzone dropzone-default dz-clickable"
   data-controller="dropzone"
   data-dropzone-max-file-size="<%= field.drop_max_file_size? %>"
   data-dropzone-max-files="<%= field.drop_max_file? %>"
   data-dropzone-accepted-files="<%= field.drop_accepted_files? %>"
   data-dropzone-add-remove-links="hello">
    <%= f.file_field field.attribute, multiple: field.many?, direct_upload: field.direct?, data: { target: 'dropzone.inputdropzone' } %>
    <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/drop_js/dropjs_template'%>
    </div>
    <%#= render 'ulFordropjs' %>
  </div>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

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