Sha256: 008c5caf537fa6ae255dfaabe52175cb0b931181d96e585f24b64633c6e04bc6
Contents?: true
Size: 574 Bytes
Versions: 1
Compression:
Stored size: 574 Bytes
Contents
- alignment ||= local_assigns[:locals][:alignment] - f ||= local_assigns[:locals][:f] %div{:id => f.object.id.to_s} - if f.object.asset_file_name = image_tag f.object.asset.url(:thumb), :width => "100" = f.input :name = f.input :asset, :required => (f.object.asset_file_name.blank? ? true : false), :as => :file, :label => "Photo" = 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sbdevcore-0.2.0 | app/views/photos/_form.html.haml |