Sha256: b669156fcd3a314e7f972202242215fcc1cfbe3d22fd9f6cba362aef102de9ba

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

- uploaded_file = storage.uploaded_files.new

:css
  .file_notice ul{
    margin-bottom:10px;
    padding:5px;
    border:1px dashed red;
    background-color: PeachPuff;
  }
  .file_notice ul li{
    font-weight:bold;
    list-style: disc outside none;
    margin-left: 20px;
  }
  #add_file_link a{
    background-color: PowderBlue;
    font-size: 16pt;
    padding:5px 15px;
    -moz-border-radius:5px;
    border: 1px solid Blue;
  }
  #add_file_link{
    margin-bottom:15px;
  }

-# 
  #add_file_link
    =link_to_function t('uploaded_files.show_upload_new_file_form'), "$('#upload_file_form').show();$('#add_file_link').hide()"

- content_for :js do
  = javascript_include_tag "jqMultiUploads"

#upload_file_form.form.overblock{:style => "background: #CCFFCC"}
  = form_for :uploaded_file, :url => uploaded_files_url(:subdomain=>@user.subdomain), :html => { :style => "background: #CCFFCC", :multipart => true, :method=>:post } do |f|
    = render :partial => 'uploaded_files/form', :locals => {:f => f, :uploaded_file=>uploaded_file, :button=>t('uploaded_files.create'), :storage=>storage}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
the_storages-0.0.1 app/views/the_storages/_new.haml