Sha256: 2659d543773f3c88be68efee4dcca6d469b33dd815ab02ac7a78a1ad5081a747

Contents?: true

Size: 1.07 KB

Versions: 5

Compression:

Stored size: 1.07 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 here to upload or click here to browse</h3>
      <span class="dropzone-msg-desc text-sm">
        <%= field.drop_max_file_size? %>
        MB par fichier. Les fichiers autorisés :
        <%= field.drop_accepted_files? %>. 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

5 entries across 5 versions & 1 rubygems

Version Path
viniBaxter-field-active_storage-9.0.0 app/views/fields/active_storage/_dropjs_items.html.erb
viniBaxter-field-active_storage-8.0.0 app/views/fields/active_storage/_dropjs_items.html.erb
viniBaxter-field-active_storage-7.0.0 app/views/fields/active_storage/_dropjs_items.html.erb
viniBaxter-field-active_storage-6.0.0 app/views/fields/active_storage/_dropjs_items.html.erb
viniBaxter-field-active_storage-5.0.0 app/views/fields/active_storage/_dropjs_items.html.erb