Convert contribution form to standard customData template
authorMatthew Wire (MJW Consulting) <mjw@mjwconsult.co.uk>
Mon, 7 Jan 2019 17:54:22 +0000 (17:54 +0000)
committerMatthew Wire (MJW Consulting) <mjw@mjwconsult.co.uk>
Mon, 7 Jan 2019 22:11:51 +0000 (22:11 +0000)
templates/CRM/Contribute/Form/Contribution.tpl

index 9496227acb9e99514604f51d37b5a4c9a6b6ad67..f412e28fe35263b876631d4771281bb9d05d1951 100644 (file)
     <!-- end of PCP -->
 
   {if !$payNow}
-    <div id="customData" class="crm-contribution-form-block-customData"></div>
+    {include file="CRM/common/customDataBlock.tpl"}
   {/if}
 
-  {include file="CRM/Custom/Form/Edit.tpl"}
-
   {literal}
   <script type="text/javascript">
     CRM.$(function($) {