Sha256: 739f93d9b2b1dbadedcafc34583ed9eb36861481469f4c8a4ed3a68fba9242ea

Contents?: true

Size: 551 Bytes

Versions: 1

Compression:

Stored size: 551 Bytes

Contents

#upload-form
  - form_for :asset, :url => admin_assets_path(:page => @page, :format => 'js'), :html => { :id => 'asset-upload', :method => "post", :multipart => true, :target => 'ulframe' } do |form|
    %div.file
      %label.upload
        = t("paperclipped.choose_upload")
      = form.file_field :asset, :class => "", :style => "width: 100%"

    .upload-buttons
      = form.submit t("paperclipped.save_and_upload"), :class => "button"
      %div.spinner
        
  %iframe{ :id => 'ulframe', :name => "ulframe", :src => "about:blank"}
  
  

  

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
radiant-paperclipped-extension-0.8.1 app/views/admin/assets/_upload_to_page.html.haml