Skip to content

Commit 5ee9791

Browse files
committed
Some fixes
1 parent fdc460d commit 5ee9791

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Diff for: book/forms.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,10 @@ helper functions:
168168
That's it! Just three lines are needed to render the complete form:
169169

170170
* ``form_start(form)`` - Renders the start tag of the form, including the
171-
correct enctype attributes when using file uploads;
171+
correct enctype attribute when using file uploads;
172172

173-
* ``form_widget(form)`` - Renders all fields, along with a label and error
174-
message (if there is one) input element;
173+
* ``form_widget(form)`` - Renders all of the fields, which includes the field
174+
element itself, a label and any validation error messages for the field;
175175

176176
* ``form_end()`` - Renders the end tag of the form and any fields that have not
177177
yet been rendered, in case you rendered each field yourself. This is useful
@@ -779,9 +779,9 @@ the other functions do?
779779
``div`` element.
780780

781781
The majority of the work is done by the ``form_row`` helper, which renders
782-
the label and HTML form widget of each field inside a ``div`` tag by default.
783-
In the :ref:`form-theming` section, you'll learn how the ``form_row`` output
784-
can be customized on many different levels.
782+
the label, errors and HTML form widget of each field inside a ``div`` tag by
783+
default. In the :ref:`form-theming` section, you'll learn how the ``form_row``
784+
output can be customized on many different levels.
785785

786786
.. tip::
787787

Diff for: book/http_fundamentals.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ regardless of how your project is developed. To name a few:
524524
about how that request should be handled (e.g. execute the ``contactAction()``
525525
method);
526526

527-
* `Form </components/form/introduction>` - A full-featured and flexible
527+
* :doc:`Form </components/form/introduction>` - A full-featured and flexible
528528
framework for creating forms and handling form submissions;
529529

530530
* `Validator`_ - A system for creating rules about data and then validating
@@ -534,10 +534,10 @@ regardless of how your project is developed. To name a few:
534534
templates, handling template inheritance (i.e. a template is decorated with
535535
a layout) and performing other common template tasks;
536536

537-
* `Security </components/security/introduction>` - A powerful library for
537+
* :doc:`Security </components/security/introduction>` - A powerful library for
538538
handling all types of security inside an application;
539539

540-
* `Translation </components/translation/introduction>` - A framework for
540+
* :doc:`Translation </components/translation/introduction>` - A framework for
541541
translating strings in your application.
542542

543543
Each and every one of these components is decoupled and can be used in *any*

0 commit comments

Comments
 (0)