File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1519,7 +1519,7 @@ file, you can see every block needed to render a form and every default field
15191519
type.
15201520

15211521
In PHP, the fragments are individual template files. By default they are located in
1522-
the `Resources/views/Form` directory of the framework bundle (`view on `_).
1522+
the ``Resources/views/Form`` directory of the framework bundle (`view on `_).
15231523

15241524
Each fragment name follows the same basic pattern and is broken up into two pieces,
15251525
separated by a single underscore character (``_``). A few examples are:
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ is almost always the case), you can easily override controllers via bundle
3434
inheritance. For more information, see :doc:`/cookbook/bundles/inheritance`.
3535
If the controller is a service, see the next section on how to override it.
3636

37+
.. _override-services-configuration:
38+
3739
Services & Configuration
3840
------------------------
3941

@@ -107,7 +109,7 @@ Forms
107109

108110
In order to override a form type, it has to be registered as a service (meaning
109111
it is tagged as ``form.type``). You can then override it as you would override any
110-
service as explained in `Services & Configuration`_. This, of course, will only
112+
service as explained in :ref:`override-services-configuration`. This, of course, will only
111113
work if the type is referred to by its alias rather than being instantiated,
112114
e.g.::
113115

Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ second_options
158158

159159
**type**: ``array`` **default**: ``array()``
160160

161-
Additional options (will be merged into `options` above) that should be passed
161+
Additional options (will be merged into ``options`` above) that should be passed
162162
*only* to the second field. This is especially useful for customizing the
163163
label (see `first_options`_).
164164

0 commit comments

Comments
 (0)