From 93fd4692f6eb753cae16358131c8049d84cfbb41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 22 Jan 2015 08:30:07 +0100 Subject: symfony is there --- src/Acme/DemoBundle/Form/ContactType.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/Acme/DemoBundle/Form/ContactType.php (limited to 'src/Acme/DemoBundle/Form') diff --git a/src/Acme/DemoBundle/Form/ContactType.php b/src/Acme/DemoBundle/Form/ContactType.php new file mode 100644 index 00000000..2c76cdb2 --- /dev/null +++ b/src/Acme/DemoBundle/Form/ContactType.php @@ -0,0 +1,20 @@ +add('email', 'email'); + $builder->add('message', 'textarea'); + } + + public function getName() + { + return 'contact'; + } +} -- cgit v1.2.3