diff options
author | Thomas Citharel <tcit@tcit.fr> | 2015-04-15 16:50:20 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2015-04-15 16:50:20 +0200 |
commit | 4d6e818e406417295298e76529ef761ddd8b1385 (patch) | |
tree | ea3c9a1b264d8493cf82b555dc415dc0da5180b8 /src/Wallabag/CoreBundle/Form/Type/EntryType.php | |
parent | 04aaa199b780d71ead5f1d2ec39e38085431336d (diff) | |
download | wallabag-4d6e818e406417295298e76529ef761ddd8b1385.tar.gz wallabag-4d6e818e406417295298e76529ef761ddd8b1385.tar.zst wallabag-4d6e818e406417295298e76529ef761ddd8b1385.zip |
changed email fields with the email type and added required parameter on some stuff
Diffstat (limited to 'src/Wallabag/CoreBundle/Form/Type/EntryType.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Form/Type/EntryType.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
10 | public function buildForm(FormBuilderInterface $builder, array $options) | 10 | public function buildForm(FormBuilderInterface $builder, array $options) |
11 | { | 11 | { |
12 | $builder | 12 | $builder |
13 | ->add('url', 'url') | 13 | ->add('url', 'url', array('required' => true)) |
14 | ->add('save', 'submit') | 14 | ->add('save', 'submit') |
15 | ; | 15 | ; |
16 | } | 16 | } |