Sha256: 4bcfe7361da9b0cd1e2c4a7f3404aaaf37a1b2a0c1b0bae5a435a26cc065b779

Contents?: true

Size: 1.02 KB

Versions: 8

Compression:

Stored size: 1.02 KB

Contents

.modal-tab-pane.tab-content
  #upload-asset
    %h5 From Your Computer
    #progress
    = form_for Tenon::Asset.new, format: 'json', builder: Tenon::FormBuilder do |f|
      = error_messages_for :asset
      .fields.full
        .form-group
          .browse-button-holder.solo
            .fileupload.btn.btn-comp.browse
              %span#choose-files Browse
              %input{ :type => 'file', :class => 'upload', multiple: defined?(multiple) && multiple, style: 'width: 100%;', name: 'asset[attachment]' }
      .spacer

  #pick-asset
    %h5 From the Asset Library

    .filter= text_field_tag :q, '', id: 'quick-search', class: 'filter search', placeholder: 'Filter Assets', data: { 'record-list' => '.asset-list' }

    .asset-list-scroller
      %ul#modal-asset-list.asset-list.record-grid.infinite-scroll{data: {records: {url: assets_path(format: 'json'), template: 'tenon/templates/assets/asset_row', name: 'asset'}}}

      = link_to "Load More Assets", '#', :class => 'infinite-loader', 'data-record-list' => '#modal-asset-list'

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tenon-1.0.7 app/views/tenon/item_assets/new.html.haml
tenon-1.0.6 app/views/tenon/item_assets/new.html.haml
tenon-1.0.5 app/views/tenon/item_assets/new.html.haml
tenon-1.0.4 app/views/tenon/item_assets/new.html.haml
tenon-1.0.3 app/views/tenon/item_assets/new.html.haml
tenon-1.0.2 app/views/tenon/item_assets/new.html.haml
tenon-1.0.1 app/views/tenon/item_assets/new.html.haml
tenon-1.0 app/views/tenon/item_assets/new.html.haml