File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Filter options
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Original file line number Diff line number Diff line change @@ -1519,7 +1519,7 @@ file, you can see every block needed to render a form and every default field
1519
1519
type.
1520
1520
1521
1521
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 `_).
1523
1523
1524
1524
Each fragment name follows the same basic pattern and is broken up into two pieces,
1525
1525
separated by a single underscore character (``_ ``). A few examples are:
Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ is almost always the case), you can easily override controllers via bundle
34
34
inheritance. For more information, see :doc: `/cookbook/bundles/inheritance `.
35
35
If the controller is a service, see the next section on how to override it.
36
36
37
+ .. _override-services-configuration :
38
+
37
39
Services & Configuration
38
40
------------------------
39
41
@@ -107,7 +109,7 @@ Forms
107
109
108
110
In order to override a form type, it has to be registered as a service (meaning
109
111
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
111
113
work if the type is referred to by its alias rather than being instantiated,
112
114
e.g.::
113
115
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ second_options
158
158
159
159
**type **: ``array `` **default **: ``array() ``
160
160
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
162
162
*only * to the second field. This is especially useful for customizing the
163
163
label (see `first_options `_).
164
164
You can’t perform that action at this time.
0 commit comments