CRM-18017 add regions to manage premiums template
authorDavid Reedy Jr <davidrjr.konadave@gmail.com>
Wed, 10 Feb 2016 23:40:50 +0000 (17:40 -0600)
committerDavid Reedy Jr <davidrjr.konadave@gmail.com>
Wed, 10 Feb 2016 23:40:50 +0000 (17:40 -0600)
templates/CRM/Contribute/Form/ManagePremiums.tpl

index d42be97f24b50f0cb0e364c9d84c9b84c4345e52..fe31cc8f75eae3fce523125d868216adb280dcb9 100644 (file)
@@ -34,6 +34,7 @@
      {include file="CRM/Contribute/Form/Contribution/PremiumBlock.tpl" context="previewPremium"}
   {else}
      <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
+  {crmRegion name="contribute-form-managepremiums-standard-fields"}
   <table class="form-layout-compressed">
      <tr class="crm-contribution-form-block-name">
   <td class="label">{$form.name.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_product' field='name' id=$productId}{/if}
        <td class="html-adjust">{$form.is_active.html}</td>
     </tr>
   </table>
+  {/crmRegion}
+  {crmRegion name="contribute-form-managepremiums-other-fields"}
   <fieldset id="time-delimited" class="crm-collapsible {if empty($showSubscriptions)}collapsed{/if}">
     <legend class="collapsible-title">{ts}Subscription or Service Settings{/ts}</legend>
     <div>
       </table>
     </div>
   </fieldset>
+  {/crmRegion}
  {/if}
 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
 </div>