Sha256: 775691c2a32c325ad615e233e3a4a65bcdcb9d75bb92da5598acc03730da8213

Contents?: true

Size: 1.06 KB

Versions: 10

Compression:

Stored size: 1.06 KB

Contents

.uploads
.asset-box-uploader{id: "s3_#{uid}", class: ('drop-files' if drop_files), 'data-input-js-options': s3_uploader_input_js_options(limit: limit, file_types: file_types) }
  = s3_uploader_fields(aws_acl: aws_acl)

  - if drop_files
    %p= drop_files_help_text

  %span.btn.btn-default.fileinput-button{class: ('disabled' if disabled)}
    %i.glyphicon.glyphicon-upload
    %span= btn_label
    - if limit > 1
      - if required
        %input.asset-box-uploader-fileinput{type: 'file', name: 'file', id: uid, multiple: 'multiple', disabled: disabled, required: true, title: btn_title}
      - else
        %input.asset-box-uploader-fileinput{type: 'file', name: 'file', id: uid, multiple: 'multiple', disabled: disabled, title: btn_title}
    - else
      - if required
        %input.asset-box-uploader-fileinput{type: 'file', name: 'file', id: uid, disabled: disabled, required: true, title: btn_title}
      - else
        %input.asset-box-uploader-fileinput{type: 'file', name: 'file', id: uid, disabled: disabled, title: btn_title}

  = render partial: progress_bar_partial

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
effective_assets-1.9.10 app/views/asset_box_input/_uploader.html.haml
effective_assets-1.9.9 app/views/asset_box_input/_uploader.html.haml
effective_assets-1.9.8 app/views/asset_box_input/_uploader.html.haml
effective_assets-1.9.7 app/views/asset_box_input/_uploader.html.haml
effective_assets-1.9.6 app/views/asset_box_input/_uploader.html.haml
effective_assets-1.9.5 app/views/asset_box_input/_uploader.html.haml
effective_assets-1.9.4 app/views/asset_box_input/_uploader.html.haml
effective_assets-1.9.3 app/views/asset_box_input/_uploader.html.haml
effective_assets-1.9.2 app/views/asset_box_input/_uploader.html.haml
effective_assets-1.9.1 app/views/asset_box_input/_uploader.html.haml