From 4d6e818e406417295298e76529ef761ddd8b1385 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 15 Apr 2015 16:50:20 +0200 Subject: changed email fields with the email type and added required parameter on some stuff --- src/Wallabag/CoreBundle/Form/Type/EntryType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Wallabag/CoreBundle/Form/Type/EntryType.php') diff --git a/src/Wallabag/CoreBundle/Form/Type/EntryType.php b/src/Wallabag/CoreBundle/Form/Type/EntryType.php index cfd64473..9a64def5 100644 --- a/src/Wallabag/CoreBundle/Form/Type/EntryType.php +++ b/src/Wallabag/CoreBundle/Form/Type/EntryType.php @@ -10,7 +10,7 @@ class EntryType extends AbstractType public function buildForm(FormBuilderInterface $builder, array $options) { $builder - ->add('url', 'url') + ->add('url', 'url', array('required' => true)) ->add('save', 'submit') ; } -- cgit v1.2.3