plataformatec/simple_form — Issue #446: :defaults hash not working
Author: mkrogh
Created: 2012-02-10 19:11:48+00:00
State: open

I'm having some problems with the :defaults hash described in the readme, the following form is not applying the defaults:

```
=simple_form_for [:manage,@news_post], :defaults => {:input_html => { :class => 'span6' }} do |f|
=f.input :title
=f.input :body
=f.input :published
=f.button :submit
```

None of the "input" fields gets the `span6` class applied. Using the `:input_html` hash on the individual input fields works as expected.

I'm using simple_form 1.5.2