aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2015-04-15 16:50:20 +0200
committerThomas Citharel <tcit@tcit.fr>2015-04-15 16:50:20 +0200
commit4d6e818e406417295298e76529ef761ddd8b1385 (patch)
treeea3c9a1b264d8493cf82b555dc415dc0da5180b8 /src/Wallabag/CoreBundle/Form/Type/UserInformationType.php
parent04aaa199b780d71ead5f1d2ec39e38085431336d (diff)
downloadwallabag-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/UserInformationType.php')
-rw-r--r--src/Wallabag/CoreBundle/Form/Type/UserInformationType.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php b/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php
index 617722db..8fead9a1 100644
--- a/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php
+++ b/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php
@@ -10,8 +10,8 @@ class UserInformationType 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('name', 'text') 13 ->add('name', 'text', array('required' => true))
14 ->add('email', 'text') 14 ->add('email', 'email')
15 ->add('save', 'submit') 15 ->add('save', 'submit')
16 ; 16 ;
17 } 17 }