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

Version Path
sbdevcore-0.3.10 app/views/photos/_form.html.haml
sbdevcore-0.3.9 app/views/photos/_form.html.haml
sbdevcore-0.3.8 app/views/photos/_form.html.haml
sbdevcore-0.3.7 app/views/photos/_form.html.haml
sbdevcore-0.3.6 app/views/photos/_form.html.haml
sbdevcore-0.3.5 app/views/photos/_form.html.haml
sbdevcore-0.3.4 app/views/photos/_form.html.haml
sbdevcore-0.3.3 app/views/photos/_form.html.haml
sbdevcore-0.3.2 app/views/photos/_form.html.haml
sbdevcore-0.3.1 app/views/photos/_form.html.haml
sbdevcore-0.3.0 app/views/photos/_form.html.haml