aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Form
diff options
context:
space:
mode:
authorJeremy <jeremy.benoist@gmail.com>2015-03-28 21:43:49 +0100
committerJeremy <jeremy.benoist@gmail.com>2015-03-31 22:48:00 +0200
commit371ac69a6bd6325929e4efee7958682a6b1666f7 (patch)
tree781e6aa505f3c163e8385a662e1befc2f38885a3 /src/Wallabag/CoreBundle/Form
parent2385f891e5992e84501d4cd47565a7bf0af14331 (diff)
downloadwallabag-371ac69a6bd6325929e4efee7958682a6b1666f7.tar.gz
wallabag-371ac69a6bd6325929e4efee7958682a6b1666f7.tar.zst
wallabag-371ac69a6bd6325929e4efee7958682a6b1666f7.zip
Add tests
and fix few mistakes
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/RssType.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/ConfigType.php b/src/Wallabag/CoreBundle/Form/Type/ConfigType.php
index 0c8706e2..0fcf020a 100644
--- a/src/Wallabag/CoreBundle/Form/Type/ConfigType.php
+++ b/src/Wallabag/CoreBundle/Form/Type/ConfigType.php
@@ -24,7 +24,7 @@ class ConfigType extends AbstractType
24 { 24 {
25 $builder 25 $builder
26 ->add('theme', 'choice', array('choices' => $this->themes)) 26 ->add('theme', 'choice', array('choices' => $this->themes))
27 ->add('items_per_page', 'text') 27 ->add('items_per_page')
28 ->add('language') 28 ->add('language')
29 ->add('save', 'submit') 29 ->add('save', 'submit')
30 ; 30 ;
diff --git a/src/Wallabag/CoreBundle/Form/Type/RssType.php b/src/Wallabag/CoreBundle/Form/Type/RssType.php
index 5edb38ba..a1ab990f 100644
--- a/src/Wallabag/CoreBundle/Form/Type/RssType.php
+++ b/src/Wallabag/CoreBundle/Form/Type/RssType.php
@@ -10,7 +10,7 @@ class RssType 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('rss_limit', 'text') 13 ->add('rss_limit')
14 ->add('save', 'submit') 14 ->add('save', 'submit')
15 ; 15 ;
16 } 16 }