Convert UpdateSubscription form to standard customData template
authorMatthew Wire (MJW Consulting) <mjw@mjwconsult.co.uk>
Mon, 7 Jan 2019 17:54:40 +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/UpdateSubscription.tpl

index 568827c0b01604d378a8337303ac7fcffe2db25f..3e45a885a5b6283082242658efbb2a15a0c549e0 100644 (file)
     {/if}
   </table>
 
-  <div id="customData"></div>
-  {*include custom data js file*}
-  {include file="CRM/common/customData.tpl"}
-  {literal}
-    <script type="text/javascript">
-      CRM.$(function($) {
-        {/literal}
-        CRM.buildCustomData( '{$customDataType}' );
-        {literal}
-      });
-    </script>
-  {/literal}
+  {include file="CRM/common/customDataBlock.tpl"}
 
   <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
 </div>