diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-03-04 16:12:45 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-03-04 16:12:45 +0100 |
commit | d89908aed331779fc79b8e50ddaa51212b6269f5 (patch) | |
tree | 8087d461437d315440c825ab28433e62ce799ecc /src/Wallabag/ImportBundle/Form | |
parent | e18138dbca536ebd49c938144f9d051e5276d4ea (diff) | |
parent | 79d0e38e7ff975b2e0306d3dd96f57509fd84aef (diff) | |
download | wallabag-d89908aed331779fc79b8e50ddaa51212b6269f5.tar.gz wallabag-d89908aed331779fc79b8e50ddaa51212b6269f5.tar.zst wallabag-d89908aed331779fc79b8e50ddaa51212b6269f5.zip |
Merge pull request #1670 from wallabag/v2-mark-imported-articles-as-read
Mark all imported articles as read
Diffstat (limited to 'src/Wallabag/ImportBundle/Form')
-rw-r--r-- | src/Wallabag/ImportBundle/Form/Type/UploadImportType.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Wallabag/ImportBundle/Form/Type/UploadImportType.php b/src/Wallabag/ImportBundle/Form/Type/UploadImportType.php index 2e6b59cb..38670379 100644 --- a/src/Wallabag/ImportBundle/Form/Type/UploadImportType.php +++ b/src/Wallabag/ImportBundle/Form/Type/UploadImportType.php | |||
@@ -6,6 +6,7 @@ use Symfony\Component\Form\AbstractType; | |||
6 | use Symfony\Component\Form\FormBuilderInterface; | 6 | use Symfony\Component\Form\FormBuilderInterface; |
7 | use Symfony\Component\Form\Extension\Core\Type\SubmitType; | 7 | use Symfony\Component\Form\Extension\Core\Type\SubmitType; |
8 | use Symfony\Component\Form\Extension\Core\Type\FileType; | 8 | use Symfony\Component\Form\Extension\Core\Type\FileType; |
9 | use Symfony\Component\Form\Extension\Core\Type\CheckboxType; | ||
9 | 10 | ||
10 | class UploadImportType extends AbstractType | 11 | class UploadImportType extends AbstractType |
11 | { | 12 | { |
@@ -13,6 +14,10 @@ class UploadImportType extends AbstractType | |||
13 | { | 14 | { |
14 | $builder | 15 | $builder |
15 | ->add('file', FileType::class) | 16 | ->add('file', FileType::class) |
17 | ->add('mark_as_read', CheckboxType::class, array( | ||
18 | 'label' => 'Mark all as read', | ||
19 | 'required' => false, | ||
20 | )) | ||
16 | ->add('save', SubmitType::class) | 21 | ->add('save', SubmitType::class) |
17 | ; | 22 | ; |
18 | } | 23 | } |