From 5b4becc6bb400522b4c4a9ecccd1639d9d74ba59 Mon Sep 17 00:00:00 2001 From: Brian Teeman Date: Tue, 19 Feb 2019 22:40:12 +0000 Subject: [PATCH] [4.0] Remove description label PR for #23874 When the only content of a tab is an editor there is no need to have the label displayed next to the editor instead it can be displayed above the editor. This is already the case for categories. This PR adds the same for tags and contacts (miscellaneous information) --- administrator/components/com_contact/tmpl/contact/edit.php | 3 ++- administrator/components/com_tags/tmpl/tag/edit.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/administrator/components/com_contact/tmpl/contact/edit.php b/administrator/components/com_contact/tmpl/contact/edit.php index 03b1eb91cd5e4..9f3a92af5be9d 100644 --- a/administrator/components/com_contact/tmpl/contact/edit.php +++ b/administrator/components/com_contact/tmpl/contact/edit.php @@ -80,7 +80,8 @@
- form->renderField('misc'); ?> + form->getLabel('misc'); ?> + form->getInput('misc'); ?>
diff --git a/administrator/components/com_tags/tmpl/tag/edit.php b/administrator/components/com_tags/tmpl/tag/edit.php index 93839e3dfb376..080b37ba2be3b 100644 --- a/administrator/components/com_tags/tmpl/tag/edit.php +++ b/administrator/components/com_tags/tmpl/tag/edit.php @@ -35,7 +35,8 @@
- form->renderField('description'); ?> + form->getLabel('description'); ?> + form->getInput('description'); ?>