Sha256: 145ae2263889e97bfeef58c9dfde9184ace803cd027a30a163bf9c17801fff84

Contents?: true

Size: 947 Bytes

Versions: 2

Compression:

Stored size: 947 Bytes

Contents

!!!
%html
  %head
    %title Insert / Upload
    %meta{'http-equiv' => 'X-UA-Compatible', :content => 'IE=edge,chrome=1'}
    %meta{:charset => 'utf-8'}
    %meta{:name => 'viewport', :content => 'width=device-width, initial-scale=1, maximum-scale=1'}

    = javascript_include_tag '//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js'
    = javascript_include_tag 'effective_assets'
    = javascript_include_tag 'effective_assets_iframe'
    = stylesheet_link_tag 'effective_assets_iframe'
    = csrf_meta_tags

  %body
    = simple_form_for @user_uploads, url: '/' do |f|
      = f.input :uploads,
        as: :asset_box,
        label: false,
        uploader: :top,
        uploader_drop_files: true,
        attachment_style: :table,
        table_filter_bar: true,
        attachment_actions: [:insert, :delete],
        attachment_add_to: :top,
        file_types: (@file_types || :any),
        aws_acl: (@aws_acl || 'public-read')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
effective_assets-1.6.2 app/views/effective/assets/iframe.html.haml
effective_assets-1.6.1 app/views/effective/assets/iframe.html.haml