Sha256: a60102e94f5ccade51610922f6c7f67eaafaa330a4f793d17248c7241dbf1d49

Contents?: true

Size: 557 Bytes

Versions: 43

Compression:

Stored size: 557 Bytes

Contents

= simple_form_for @asset, :url => url, :html => { :multipart => true }, :wrapper => :bootstrap do |f|
  .lightened-box
    %h1= page_title
    = f.input :file, :as => :file
    = f.input :path, :as => :string, :input_html => { :readonly => true }
    .clear
  - if @asset.file.url.present?
    .darkened-box
      - if [:jpg, :jpeg, :png].include?(@asset.file_type)
        .fixed-width-image
          = link_to image_tag(@asset.file.url), @asset.file.url
      - else
        = link_to @asset.name, @asset.file.url
  .lightened-box
    = f.button :submit

Version data entries

43 entries across 43 versions & 2 rubygems

Version Path
qbrick-2.7.1 app/views/qbrick/cms/assets/_form.html.haml
qbrick-2.7 app/views/qbrick/cms/assets/_form.html.haml
qbrick-2.6.10 app/views/qbrick/cms/assets/_form.html.haml
qbrick-2.6.9 app/views/qbrick/cms/assets/_form.html.haml
qbrick-2.6.8 app/views/qbrick/cms/assets/_form.html.haml
qbrick-2.6.7 app/views/qbrick/cms/assets/_form.html.haml
qbrick-2.6.6 app/views/qbrick/cms/assets/_form.html.haml
qbrick-2.6.5 app/views/qbrick/cms/assets/_form.html.haml
qbrick-2.6.4 app/views/qbrick/cms/assets/_form.html.haml
qbrick-2.6.3 app/views/qbrick/cms/assets/_form.html.haml
qbrick-2.6.2 app/views/qbrick/cms/assets/_form.html.haml
qbrick-2.6.1 app/views/qbrick/cms/assets/_form.html.haml
kuhsaft-2.6.3 app/views/kuhsaft/cms/assets/_form.html.haml
qbrick-2.6.0 app/views/qbrick/cms/assets/_form.html.haml
qbrick-2.5.2 app/views/qbrick/cms/assets/_form.html.haml
qbrick-2.5.1 app/views/qbrick/cms/assets/_form.html.haml
qbrick-2.5.0 app/views/qbrick/cms/assets/_form.html.haml
kuhsaft-2.6.2 app/views/kuhsaft/cms/assets/_form.html.haml
kuhsaft-2.6.1 app/views/kuhsaft/cms/assets/_form.html.haml
kuhsaft-2.5.2 app/views/kuhsaft/cms/assets/_form.html.haml