Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7799852

Browse filesBrowse files
committed
Fixing build errors
1 parent 747696a commit 7799852
Copy full SHA for 7799852

File tree

Expand file treeCollapse file tree

3 files changed

+5
-3
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+5
-3
lines changed

‎book/forms.rst

Copy file name to clipboardExpand all lines: book/forms.rst
+1-1Lines changed: 1 addition & 1 deletion
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 GitHub`_).
1522+
the ``Resources/views/Form`` directory of the framework bundle (`view on GitHub`_).
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:

‎cookbook/bundles/override.rst

Copy file name to clipboardExpand all lines: cookbook/bundles/override.rst
+3-1Lines changed: 3 additions & 1 deletion
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

‎reference/forms/types/repeated.rst

Copy file name to clipboardExpand all lines: reference/forms/types/repeated.rst
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.