Sha256: 99809d270715366d802be638d2db2bea2d1c3d8e4a020897b7f172ae9031f509

Contents?: true

Size: 1.47 KB

Versions: 6

Compression:

Stored size: 1.47 KB

Contents

/ The file upload form used as target for the file upload widget
= form_for file, html: { multipart: true, class: 'fileupload' } do |f|
  / The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload
  .row.fileupload-buttonbar
    .col-lg-7
      / The fileinput-button span is used to style the file input field as button
      span.btn.btn-success.fileinput-button
        i.glyphicon.glyphicon-plus
        span = t '.add_files'

        - if defined?(as)
          = f.file_field as, multiple: true
        - else
          = f.file_field :file, multiple: true
      button.btn.btn-primary.start type='submit'
        i.glyphicon.glyphicon-upload
        span= t '.start'
      button.btn.btn-warning.cancel type='reset'
        i.glyphicon.glyphicon-ban-circle
        span= t '.cancel'
      button.btn.btn-danger.delete type='button'
        i.glyphicon.glyphicon-trash
        span= t '.delete'
      input.toggle type='checkbox'

        / The global file processing state
        span.fileupload-process
    / The global progress state
    .col-lg-5.fileupload-progress.fade
      / The global progress bar
      .progress.progress-striped.active aria-valuemax='100' aria-valuemin='0' role='progressbar'
        .progress-bar.progress-bar-success style='width:0;'

      / The extended global progress state
      .progress-extended  
  / The table listing the files available for upload/download
  table.table.table-striped role='presentation'
    tbody.files

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jquery-file-upload-0.0.6 app/views/jquery-file-upload/basic_plus_ui/_form.html.slim
jquery-file-upload-0.0.5 app/views/jquery-file-upload/basic_plus_ui/_form.html.slim
jquery-file-upload-0.0.4 app/views/jquery-file-upload/basic_plus_ui/_form.html.slim
jquery-file-upload-0.0.3 app/views/jquery-file-upload/basic_plus_ui/_form.html.slim
jquery-file-upload-0.0.2 app/views/jquery-file-upload/basic_plus_ui/_form.html.slim
jquery-file-upload-0.0.1 app/views/jquery-file-upload/basic_plus_ui/_form.html.slim