Sha256: 87390d27081fc0895ea4b8fcc39c8c226d66c9c487e56791600053d783f4f10c

Contents?: true

Size: 1.17 KB

Versions: 3

Compression:

Stored size: 1.17 KB

Contents

%h1
  = t('views.file_uploader.upload.title')

= form_for @file_upload, url: { action: :result }, html: { multipart: true, id: :form, class: :'ts-form' } do |form|
  .ts-form-group
    = form.hidden_field :uploaded_file
    %label{ for: :uploaded_file}
      = t('views.file_uploader.upload.fields.file')
    = form.file_field :uploaded_file, html: { class: 'ts-field-file' }
    .ts-form-group-checkbox
      %label
        = t('views.file_uploader.upload.fields.virus_scan')
        = form.check_box :virus_scan
    .ts-form-group-checkbox
      %label
        = t('views.file_uploader.upload.fields.filetype_detection')
        = form.check_box :filetype_detection
    .ts-form-group-checkbox
      %label
        = t('views.file_uploader.upload.fields.checksum_calculation')
        = form.check_box :checksum_calculation
  = form.submit t('views.application.buttons.upload'), id: :upload, class: 'ts-button-upload', name: :upload
  %a#reset.ts-button-reset{href: '#', name: 'reset'}
    = t('views.application.buttons.reset')
  %span.ts-inline#request-spinner
    = image_tag 'ajax-loader.gif', alt: t('views.file_uploader.upload.spinner.text')
    = t('views.file_uploader.upload.spinner.text')

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
test_server-0.5.2 app/views/test_server/file_uploader/_form.html.haml
test_server-0.5.1 app/views/test_server/file_uploader/_form.html.haml
test_server-0.5.0 app/views/test_server/file_uploader/_form.html.haml