diff options
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 | } |