Merge pull request #1102 from sharpmachine/patch-1
Update README.md line 458
This commit is contained in:
commit
ed3de1c2b5
|
@ -455,7 +455,7 @@ Rails helper, but change the builder to use the `SimpleForm::FormBuilder`.
|
|||
|
||||
```ruby
|
||||
form_for @user do |f|
|
||||
simple_fields_for :posts do |posts_form|
|
||||
f.simple_fields_for :posts do |posts_form|
|
||||
# Here you have all simple_form methods available
|
||||
posts_form.input :title
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue