diff --git a/forms.rst b/forms.rst index 1bd561c022b..54ab2d5ac79 100644 --- a/forms.rst +++ b/forms.rst @@ -262,10 +262,8 @@ to build another object with the visual representation of the form:: namespace App\Controller; use App\Entity\Task; + use App\Form\Type\TaskType; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; - use Symfony\Component\Form\Extension\Core\Type\DateType; - use Symfony\Component\Form\Extension\Core\Type\SubmitType; - use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\HttpFoundation\Request; class TaskController extends AbstractController
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: