locomotivecms/engine

View on GitHub
app/views/locomotive/content_assets/_dropzone.html.slim

Summary

Maintainability
Test Coverage
.instructions
  i.fas.fa-cloud-upload-alt
  br
  = t('.instructions').html_safe
  |  
  = link_to t('.browse'), '#', class: 'upload'
  br
  br
  i
    = t('.maximum_file_size', maximum: number_to_human_size(current_site.maximum_uploaded_file_size)).html_safe

= form_tag('', class: 'hide') do
  = file_field_tag :source, multiple: true

= link_to 'Refresh', request.fullpath, remote: remote, class: 'refresh hide'

.progress.hide
  .progress-bar role='progressbar' aria-valuenow='0' aria-valuemin='0' aria-valuemax='100'