mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
removes some duplication in previous edit
This commit is contained in:
parent
ef2ec071de
commit
b7d8f5a329
1 changed files with 0 additions and 5 deletions
|
@ -11,11 +11,6 @@ module ActionView
|
||||||
# Form helpers are designed to make working with resources much easier
|
# Form helpers are designed to make working with resources much easier
|
||||||
# compared to using vanilla HTML.
|
# compared to using vanilla HTML.
|
||||||
#
|
#
|
||||||
# There are methods to generate all kinds of input fields and the form
|
|
||||||
# element itself. They get convenient names, IDs, endpoints, etc. so that
|
|
||||||
# you can work at the model level. Thanks to conventions in the HTML they
|
|
||||||
# generate controllers receive form data nicely structured in +params+.
|
|
||||||
#
|
|
||||||
# Model-based forms are created with +form_for+. That method yields a form
|
# Model-based forms are created with +form_for+. That method yields a form
|
||||||
# builder that knows the model the form is about. The form builder is thus
|
# builder that knows the model the form is about. The form builder is thus
|
||||||
# able to generate default values for input fields that correspond to model
|
# able to generate default values for input fields that correspond to model
|
||||||
|
|
Loading…
Reference in a new issue