Sha256: 46d84091d8d60fd0b8e2553b0f782999a7922256215efe8b119e96a2837bc4e7

Contents?: true

Size: 741 Bytes

Versions: 6

Compression:

Stored size: 741 Bytes

Contents

.iu-multi{ 'ng-controller' => 'multiIuCtrl', data: options }
  .iu-multi-dropzone{ 'ng-class' => '{uploading:uploaded == false}' }
    .iu-progress-bar{ style: "width: {{ uploadProgress }}%;" }
    = file_field_tag "#{record.class.name.downcase}[#{field}_attributes][][#{options[:multi]}]", multiple: true

    .iu-multi-select
      drag & drop or
      = link_to 'select file from disk', '#', class: 'iu-multi-select-files'

  %ul.iu-multi-files-cache
    - record.send(field).each do |img|
      %li{ data: { id: img.id } }= image_tag img.send(options[:multi]).send(options[:version]).url

  .iu-alert Too much, only #{options[:limit]}

  %ul.iu-multi-files
    %li{ 'ng-repeat' => 'file in files'}
      %img{ src: "{{ file.path }}" }


Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
instant-upload-1.0.6 app/views/instant_upload/_multi.html.haml
instant-upload-1.0.5 app/views/instant_upload/_multi.html.haml
instant-upload-1.0.4 app/views/instant_upload/_multi.html.haml
instant-upload-1.0.3 app/views/instant_upload/_multi.html.haml
instant-upload-1.0.2 app/views/instant_upload/_multi.html.haml
instant-upload-1.0.1 app/views/instant_upload/_multi.html.haml