Explain that `simple_fields_for` uses `fields_for` in the README
Closes #545
This commit is contained in:
parent
45ae549ec3
commit
0d292d0d4b
|
@ -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`):
|
||||
|
|
Loading…
Reference in New Issue