You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
8000
all the above, this PR removes 800 lines of docs!
Commits
-------
7cdf54a Simplified the form theming docs
0 commit comments