Explain that `simple_fields_for` uses `fields_for` in the README

Closes #545
This commit is contained in:
Rafael Mendonça França 2012-04-23 00:19:08 -03:00
parent 45ae549ec3
commit 0d292d0d4b
1 changed files with 3 additions and 1 deletions

View File

@ -348,7 +348,8 @@ on `simple_form_for` helper. They are listed below.
#### Simple Fields For
Wrapper to use SimpleForm inside a default rails form
Wrapper to use **SimpleForm** inside a default rails form. It works in the same way that the `field_for`
Rails helper, but change the builder to use the `SimpleForm::FormBuilder`.
```ruby
form_for @user do |f|
@ -359,6 +360,7 @@ form_for @user do |f|
end
```
#### Collection Radio Buttons
Creates a collection of radio inputs with labels associated (same API as `collection_select`):