diff options
author | Kevin Decherf <kevin@kdecherf.com> | 2017-09-09 19:32:42 +0200 |
---|---|---|
committer | Kevin Decherf <kevin@kdecherf.com> | 2017-11-19 15:02:11 +0100 |
commit | 03b020eb205a052b3a09f94e316c3b6b48607103 (patch) | |
tree | a62df8b9c590276e8d34fa01aafda39de900a109 /src/Wallabag/CoreBundle/Form/Type | |
parent | e0ef1a1c8b6badd2f52acbdcf928469ef1a15b3e (diff) | |
download | wallabag-03b020eb205a052b3a09f94e316c3b6b48607103.tar.gz wallabag-03b020eb205a052b3a09f94e316c3b6b48607103.tar.zst wallabag-03b020eb205a052b3a09f94e316c3b6b48607103.zip |
Entry: handle originUrl in edit form, update translations
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Diffstat (limited to 'src/Wallabag/CoreBundle/Form/Type')
-rw-r--r-- | src/Wallabag/CoreBundle/Form/Type/EditEntryType.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/EditEntryType.php b/src/Wallabag/CoreBundle/Form/Type/EditEntryType.php index 1627cc44..4bceaf5f 100644 --- a/src/Wallabag/CoreBundle/Form/Type/EditEntryType.php +++ b/src/Wallabag/CoreBundle/Form/Type/EditEntryType.php | |||
@@ -22,6 +22,11 @@ class EditEntryType extends AbstractType | |||
22 | 'required' => false, | 22 | 'required' => false, |
23 | 'label' => 'entry.edit.url_label', | 23 | 'label' => 'entry.edit.url_label', |
24 | ]) | 24 | ]) |
25 | ->add('origin_url', TextType::class, [ | ||
26 | 'required' => false, | ||
27 | 'property_path' => 'originUrl', | ||
28 | 'label' => 'entry.edit.origin_url_label', | ||
29 | ]) | ||
25 | ->add('save', SubmitType::class, [ | 30 | ->add('save', SubmitType::class, [ |
26 | 'label' => 'entry.edit.save_label', | 31 | 'label' => 'entry.edit.save_label', |
27 | ]) | 32 | ]) |