aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Form
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-06-01 21:27:35 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-06-22 17:59:35 +0200
commit23634d5d842dabcf5d7475e2becb7e127824239e (patch)
treeb91688722a996c46f27e8fe0542c356424483da3 /src/Wallabag/CoreBundle/Form
parent891a026e31ad54ca90b70f6026f23260cfadb7fd (diff)
downloadwallabag-23634d5d842dabcf5d7475e2becb7e127824239e.tar.gz
wallabag-23634d5d842dabcf5d7475e2becb7e127824239e.tar.zst
wallabag-23634d5d842dabcf5d7475e2becb7e127824239e.zip
Jump to Symfony 3.1
Diffstat (limited to 'src/Wallabag/CoreBundle/Form')
-rw-r--r--src/Wallabag/CoreBundle/Form/Type/ConfigType.php2
-rw-r--r--src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/ConfigType.php b/src/Wallabag/CoreBundle/Form/Type/ConfigType.php
index 4cf22200..74c53bf0 100644
--- a/src/Wallabag/CoreBundle/Form/Type/ConfigType.php
+++ b/src/Wallabag/CoreBundle/Form/Type/ConfigType.php
@@ -32,7 +32,6 @@ class ConfigType extends AbstractType
32 $builder 32 $builder
33 ->add('theme', ChoiceType::class, [ 33 ->add('theme', ChoiceType::class, [
34 'choices' => array_flip($this->themes), 34 'choices' => array_flip($this->themes),
35 'choices_as_values' => true,
36 'label' => 'config.form_settings.theme_label', 35 'label' => 'config.form_settings.theme_label',
37 ]) 36 ])
38 ->add('items_per_page', null, [ 37 ->add('items_per_page', null, [
@@ -49,7 +48,6 @@ class ConfigType extends AbstractType
49 ]) 48 ])
50 ->add('language', ChoiceType::class, [ 49 ->add('language', ChoiceType::class, [
51 'choices' => array_flip($this->languages), 50 'choices' => array_flip($this->languages),
52 'choices_as_values' => true,
53 'label' => 'config.form_settings.language_label', 51 'label' => 'config.form_settings.language_label',
54 ]) 52 ])
55 ->add('save', SubmitType::class, [ 53 ->add('save', SubmitType::class, [
diff --git a/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php b/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php
index f3f848e9..bc59c9a1 100644
--- a/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php
+++ b/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php
@@ -113,7 +113,6 @@ class EntryFilterType extends AbstractType
113 ]) 113 ])
114 ->add('language', ChoiceFilterType::class, [ 114 ->add('language', ChoiceFilterType::class, [
115 'choices' => array_flip($this->repository->findDistinctLanguageByUser($this->user->getId())), 115 'choices' => array_flip($this->repository->findDistinctLanguageByUser($this->user->getId())),
116 'choices_as_values' => true,
117 'label' => 'entry.filters.language_label', 116 'label' => 'entry.filters.language_label',
118 ]) 117 ])
119 ; 118 ;