A
A
Alexander2016-11-14 14:31:11
symfony
Alexander, 2016-11-14 14:31:11

What is the best way to drag the form to the main one?

There is also a HomeController main page controller
, on the main page there should be a form Form - a separate entity (Book) with its own controller
and classes (filled in several stages, for each stage - a separate class) forms to make a method and access it from HomeController

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Skobkin, 2016-11-14
@skobkin

Best Practice
Define your forms as PHP classes.

https://symfony.com/doc/current/best_practices/for...
This way you can use the same form in different places while doing DRY .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question