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