Sha256: f983c41dddd80b262b268568035f4378345fcb5049ea6ac905efd745c1d89fe1

Contents?: true

Size: 780 Bytes

Versions: 79

Compression:

Stored size: 780 Bytes

Contents

#asset-uploader
  #progress
  = form_for Tenon::Asset.new, format: 'json', builder: Tenon::FormBuilder do |f|
    = error_messages_for :asset
    .fields.full
      .form-group.full
        = f.text_field :title, placeholder: '--', explanation: "Enter a title for your asset.  You can leave this blank to just use the file name as the title. #{defined?(multiple) ? 'If you upload multiple assets a numerical series will be created.' : '' }"

      .form-group
        .browse-button-holder
          .fileupload.btn.btn-comp.browse
            %span#choose-files= defined?(multiple) ? 'Choose Files' : 'Choose File'
            %input{ :type => 'file', :class => 'upload', multiple: defined?(multiple) && multiple, style: 'width: 100%;', name: 'asset[attachment]' }

    .spacer

Version data entries

79 entries across 79 versions & 1 rubygems

Version Path
tenon-1.1.4 app/views/tenon/assets/_form.html.haml
tenon-1.1.3 app/views/tenon/assets/_form.html.haml
tenon-1.1.2 app/views/tenon/assets/_form.html.haml
tenon-1.1.1 app/views/tenon/assets/_form.html.haml
tenon-1.0.76 app/views/tenon/assets/_form.html.haml
tenon-1.0.75 app/views/tenon/assets/_form.html.haml
tenon-1.0.74 app/views/tenon/assets/_form.html.haml
tenon-1.0.73 app/views/tenon/assets/_form.html.haml
tenon-1.0.72 app/views/tenon/assets/_form.html.haml
tenon-1.0.71 app/views/tenon/assets/_form.html.haml
tenon-1.0.70 app/views/tenon/assets/_form.html.haml
tenon-1.0.69 app/views/tenon/assets/_form.html.haml
tenon-1.0.68 app/views/tenon/assets/_form.html.haml
tenon-1.0.67 app/views/tenon/assets/_form.html.haml
tenon-1.0.66 app/views/tenon/assets/_form.html.haml
tenon-1.0.65 app/views/tenon/assets/_form.html.haml
tenon-1.0.64 app/views/tenon/assets/_form.html.haml
tenon-1.0.63 app/views/tenon/assets/_form.html.haml
tenon-1.0.62 app/views/tenon/assets/_form.html.haml
tenon-1.0.61 app/views/tenon/assets/_form.html.haml