-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Is your feature request related to a problem? Please describe.
Organizing reusable template parts allows us to quickly add elements in future pages we build, directly injecting content into them with a simple controller template var.
Describe the solution you'd like
Adding templates to the partials based on possible reusable pieces of the dashboard, and wire existing parts to these new partials.
Describe alternatives you've considered
Using includes with named variables Vs. Embedding Controllers. Recommended to use include technique (less effort, more gain). The latter is very overkill for what we need in this situation, but in some cases can be justified, although needs further planning on structuring the controller folder and naming structure.
Additional context
Clear documentation from Twig: https://symfony.com/doc/current/templates.html#reusing-template-contents