Flux 7.0 will bring the option to place fields and sheets into Partial templates - if you are currently in a development project, I recommend trying it out from the development
branches on Github:
https://github.com/FluidTYPO3/flux/tree/development
Flux 7.0 also will bring the option to create PHP classes which for example create ready-made sheets with a bunch of fields - such a class would be ideal to reuse, simply requiring one PHP class and one Fluid ViewHelper. Such an approach would be more efficient when your forms are rendered, but of course is much more technically demanding than a Partial template.
EDIT: though not yet documented, creating custom sheets involves two simple steps: 1) create a subclass of FluidTYPO3\Flux\Form\Container\Sheet
and a subclass of FluidTYPO3\Flux\ViewHelpers\Form\SheetViewHelper
- then include your namespace in the template, use your own ViewHelper instead of a flux:form.sheet
(and add additional fields if you need them) and then inside the Sheet
object, use the $this->createField()
method from within object initialization, to automatically add any number of fields with predefined names, labels etc.