Commit 70eedcf
committed
minor #10926 Simplified the form theming docs (javiereguiluz)
This PR was squashed before being merged into the 4.1 branch (closes #10926).
Discussion
----------
Simplified the form theming docs
This is a total revamp of all the docs related to form themes and form customization. The current problems are:
* `form/form_customization.rst` and `form/rendering.rst` are too similar.
* `form/form_themes.rst` is incomplete and confusing
* Most of the form theming things are explained in `form/form_customization.rst`
instead of `form/form_themes.rst`
* `reference/forms/twig_reference.rst` and `reference/twig_reference.rst`
duplicate lots of contents
This PR does the following:
* Delete `form/rendering.rst` and merge it with `form/form_customization.rst`
* Remove anything related to form themes from `form/form_customization.rst`
* Add everything related to form themes to ``form/form_themes.rst``
* Remove the duplicated contents from `reference/twig_reference.rst` and link
to the other form reference.
The result is:
* `form.rst`: main article explaining all the basics about forms.
* `form/form_customization.rst` explains everything about Form helper functions
(`form_start()`, `form_row()`, etc.) and form variables (`required`, `compound`, etc.)
* `form/form_themes.rst` explains everything about form themes, including the
form fragment naming and all the different options to create themes.
On top of all the above, this PR removes 800 lines of docs!
Commits
-------
7cdf54a Simplified the form theming docsFile tree
16 files changed
+813
-1651
lines changed- _build
- _images
- form
- sources/form
- components
- form
- reference
- configuration
- forms
16 files changed
+813
-1651
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
| 406 | + | |
| 407 | + | |
Loading
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
181 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
182 | 183 | | |
183 | 184 | | |
184 | 185 | | |
| |||
231 | 232 | | |
232 | 233 | | |
233 | 234 | | |
234 | | - | |
| 235 | + | |
235 | 236 | | |
236 | 237 | | |
237 | 238 | | |
| |||
510 | 511 | | |
511 | 512 | | |
512 | 513 | | |
513 | | - | |
514 | | - | |
| 514 | + | |
| 515 | + | |
515 | 516 | | |
516 | 517 | | |
517 | 518 | | |
| |||
528 | 529 | | |
529 | 530 | | |
530 | 531 | | |
531 | | - | |
| 532 | + | |
532 | 533 | | |
533 | 534 | | |
534 | 535 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| |||
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
150 | | - | |
151 | | - | |
| 151 | + | |
| 152 | + | |
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| |||
0 commit comments