Sha256: b243630839bb29afb64adc974211a74062aa18e9bf14b86edde7553e1f0e83df
Contents?: true
Size: 532 Bytes
Versions: 64
Compression:
Stored size: 532 Bytes
Contents
= simple_form_for @asset, :url => url, :html => { :multipart => true } 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
64 entries across 64 versions & 1 rubygems