diff options
Diffstat (limited to 'src/Acme/DemoBundle/Form')
-rw-r--r-- | src/Acme/DemoBundle/Form/ContactType.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/Acme/DemoBundle/Form/ContactType.php b/src/Acme/DemoBundle/Form/ContactType.php deleted file mode 100644 index 2c76cdb2..00000000 --- a/src/Acme/DemoBundle/Form/ContactType.php +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Acme\DemoBundle\Form; | ||
4 | |||
5 | use Symfony\Component\Form\AbstractType; | ||
6 | use Symfony\Component\Form\FormBuilderInterface; | ||
7 | |||
8 | class ContactType extends AbstractType | ||
9 | { | ||
10 | public function buildForm(FormBuilderInterface $builder, array $options) | ||
11 | { | ||
12 | $builder->add('email', 'email'); | ||
13 | $builder->add('message', 'textarea'); | ||
14 | } | ||
15 | |||
16 | public function getName() | ||
17 | { | ||
18 | return 'contact'; | ||
19 | } | ||
20 | } | ||