Sha256: 22587b15a325c1fa7e8866cc704a828101de8c9466d9449f5528cdca9d50e8ac

Contents?: true

Size: 717 Bytes

Versions: 1

Compression:

Stored size: 717 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= 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

1 entries across 1 versions & 1 rubygems

Version Path
instant-upload-1.0.0 app/views/instant_upload/_multi.html.haml