Sha256: afdc9eb25454b70b51be42f379ff18a574c96ba83aa938f72ec4417a1250c017

Contents?: true

Size: 334 Bytes

Versions: 10

Compression:

Stored size: 334 Bytes

Contents

= simple_form_for [:vision, resource], :html=>{:class=>"form form-horizontal"} do |f|
  - (form_attributes-association_attributes).each do |attr|
    = f.input attr.to_sym, :input_html=>{:class=>"input-xxlarge"}
  - associations(:belongs_to).each do |assoc|
    = f.association assoc.name.to_sym
  = f.submit :class=>"btn btn-success"

Version data entries

10 entries across 5 versions & 1 rubygems

Version Path
vision-0.0.2 lib/generators/templates/resource/_form.html.haml
vision-0.0.2 app/views/vision/resource/_form.html.haml
vision-0.0.1 app/views/vision/resource/_form.html.haml
vision-0.0.1 lib/generators/templates/resource/_form.html.haml
vision-0.0.1.beta2 app/views/vision/resource/_form.html.haml
vision-0.0.1.beta2 lib/generators/templates/resource/_form.html.haml
vision-0.0.1.beta app/views/vision/resource/_form.html.haml
vision-0.0.1.beta lib/generators/templates/resource/_form.html.haml
vision-0.0.1.alpha1 lib/generators/templates/resource/_form.html.haml
vision-0.0.1.alpha1 app/views/vision/resource/_form.html.haml