@@ -177,8 +177,9 @@ between Twig and several Symfony components:
177
177
178
178
$ composer require symfony/twig-bridge
179
179
180
- The TwigBridge integration provides you with several :doc: `Twig Functions </reference/forms/twig_reference >`
181
- that help you render the HTML widget, label and error for each field
180
+ The TwigBridge integration provides you with several
181
+ :ref: `Twig Functions <reference-form-twig-functions-variables >`
182
+ that help you render the HTML widget, label, help and error for each field
182
183
(as well as a few other things). To configure the integration, you'll need
183
184
to bootstrap or access Twig and add the :class: `Symfony\\ Bridge\\ Twig\\ Extension\\ FormExtension `::
184
185
@@ -510,8 +511,8 @@ Rendering the Form
510
511
511
512
Now that the form has been created, the next step is to render it. This is
512
513
done by passing a special form "view" object to your template (notice the
513
- ``$form->createView() `` in the controller above) and using a set of form
514
- helper functions:
514
+ ``$form->createView() `` in the controller above) and using a set of
515
+ :ref: ` form helper functions < reference-form-twig-functions >` :
515
516
516
517
.. code-block :: html+twig
517
518
@@ -528,7 +529,7 @@ That's it! By printing ``form_widget(form)``, each field in the form is
528
529
rendered, along with a label and error message (if there is one). While this is
529
530
convenient, it's not very flexible (yet). Usually, you'll want to render each
530
531
form field individually so you can control how the form looks. You'll learn how
531
- to do that in the " :doc: `/form/rendering `" section .
532
+ to do that in the :doc: `form customization < /form/form_customization>" article .
532
533
533
534
Changing a Form's Method and Action
534
535
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments