aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Form
diff options
context:
space:
mode:
authorKevin Decherf <kevin@kdecherf.com>2017-09-09 19:32:42 +0200
committerKevin Decherf <kevin@kdecherf.com>2017-11-19 15:02:11 +0100
commit03b020eb205a052b3a09f94e316c3b6b48607103 (patch)
treea62df8b9c590276e8d34fa01aafda39de900a109 /src/Wallabag/CoreBundle/Form
parente0ef1a1c8b6badd2f52acbdcf928469ef1a15b3e (diff)
downloadwallabag-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')
-rw-r--r--src/Wallabag/CoreBundle/Form/Type/EditEntryType.php5
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 ])