From 44a8e64cb3b8b3828ce0d25ffd2c7ba94699f481 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Thu, 5 Apr 2018 17:44:03 +0100 Subject: [PATCH] Extract custom data edit template code to shared template --- templates/CRM/Contribute/Form/Contribution.tpl | 18 +++++------------- templates/CRM/Custom/Form/Edit.tpl | 16 ++++++++++++++++ 2 files changed, 21 insertions(+), 13 deletions(-) create mode 100644 templates/CRM/Custom/Form/Edit.tpl diff --git a/templates/CRM/Contribute/Form/Contribution.tpl b/templates/CRM/Contribute/Form/Contribution.tpl index 9b12de3e0b..f5ffd25a19 100644 --- a/templates/CRM/Contribute/Form/Contribution.tpl +++ b/templates/CRM/Contribute/Form/Contribution.tpl @@ -345,25 +345,17 @@
{/if} - {*include custom data js file*} - {include file="CRM/common/customData.tpl"} + {include file="CRM/Custom/Form/Edit.tpl"} - {literal} - +{/literal} \ No newline at end of file -- 2.25.1