Skip to content

Commit

Permalink
use "Form component" instead of "form framework"
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed May 1, 2015
1 parent bd5ca26 commit 07bc4db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion book/forms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1867,7 +1867,7 @@ an array.

Be advised, however, that in most cases using the ``getData()`` method is
a better choice, since it returns the data (usually an object) after
it's been transformed by the form framework.
it's been transformed by the Form component.

Adding Validation
~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion book/translation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ the framework:
Translating Constraint Messages
-------------------------------

If you're using validation constraints with the form framework, then translating
If you're using validation constraints with the Form component, then translating
the error messages is easy: simply create a translation resource for the
``validators`` :ref:`domain <using-message-domains>`.

Expand Down
4 changes: 2 additions & 2 deletions cookbook/form/data_transformers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ when creating your form. Later, you'll learn how you could create a custom

Cool, you're done! Your user will be able to enter an issue number into the
text field and it will be transformed back into an Issue object. This means
that, after a successful submission, the Form framework will pass a real Issue
object to ``Task::setIssue()`` instead of the issue number.
that, after a successful submission, the Form component will pass a real
``Issue`` object to ``Task::setIssue()`` instead of the issue number.

If the issue isn't found, a form error will be created for that field and
its error message can be controlled with the ``invalid_message`` field option.
Expand Down

0 comments on commit 07bc4db

Please sign in to comment.