Sha256: ccd6477e6b00ca0200a1b080e3dd12cb85b03cc6f8369ec875b2b68a8d5cc0d2
Contents?: true
Size: 588 Bytes
Versions: 11
Compression:
Stored size: 588 Bytes
Contents
- alignment ||= local_assigns[:locals][:alignment] - f ||= local_assigns[:locals][:f] %div{:id => f.object.id.to_s} - unless f.object.new_record? = image_tag f.object.asset.url(:thumb), :width => "100", :class => "left" = f.input :name = f.input :asset, :as => :file, :label => "Photo", :required => false, :input_html => { :validate => false } = f.input :description, :input_html => { :cols => 70, :rows => 3 } = f.input :klass, :as => :radio, :collection => ["left", "right", "center"], :label => "Alignment" = render "shared/prioritizable_fields", :locals => {:f => f}
Version data entries
11 entries across 11 versions & 1 rubygems