From b3bb9ae516db3a100b66b97d8b14e0ad20dd4d02 Mon Sep 17 00:00:00 2001 From: eileenmcnaugton Date: Sat, 2 Jan 2016 20:03:54 +1300 Subject: [PATCH] CRM-17764 add pledge block region to main contribution page --- .../CRM/Contribute/Form/Contribution/Main.tpl | 40 ++++++++++--------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/templates/CRM/Contribute/Form/Contribution/Main.tpl b/templates/CRM/Contribute/Form/Contribution/Main.tpl index a57e86c0bf..ea39f40d4b 100644 --- a/templates/CRM/Contribute/Form/Contribution/Main.tpl +++ b/templates/CRM/Contribute/Form/Contribution/Main.tpl @@ -94,27 +94,29 @@ {/if} - {if $pledgeBlock} - {if $is_pledge_payment} -
-
{$form.pledge_amount.label} *
-
{$form.pledge_amount.html}
-
-
- {else} -
-
 
-
- {$form.is_pledge.html}  - {if $is_pledge_interval} - {$form.pledge_frequency_interval.html}  - {/if} - {$form.pledge_frequency_unit.html} {ts}for{/ts} {$form.pledge_installments.html} {ts}installments.{/ts} + {crmRegion name='contribution-main-pledge-block'} + {if $pledgeBlock} + {if $is_pledge_payment} +
+
{$form.pledge_amount.label} *
+
{$form.pledge_amount.html}
+
-
-
+ {else} +
+
 
+
+ {$form.is_pledge.html}  + {if $is_pledge_interval} + {$form.pledge_frequency_interval.html}  + {/if} + {$form.pledge_frequency_unit.html} {ts}for{/ts} {$form.pledge_installments.html} {ts}installments.{/ts} +
+
+
+ {/if} {/if} - {/if} + {/crmRegion} {if $form.is_recur}
-- 2.25.1