From c78d6d6025891829a33d04ee3cdeda949c9d16a1 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 28 Oct 2014 10:26:42 +1300 Subject: [PATCH] CRM-15509 put div outside if statements & ensure fieldsets are enclosing within an if statement --- templates/CRM/Core/BillingBlock.tpl | 52 ++++++++++++++--------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/templates/CRM/Core/BillingBlock.tpl b/templates/CRM/Core/BillingBlock.tpl index 534e6a5ddc..56cad1d540 100644 --- a/templates/CRM/Core/BillingBlock.tpl +++ b/templates/CRM/Core/BillingBlock.tpl @@ -24,9 +24,8 @@ +--------------------------------------------------------------------+ *} {crmRegion name="billing-block"} - -{if $paymentFields} -
+
+ {if $paymentFields}
{$paymentTypeLabel} @@ -50,30 +49,31 @@
{/foreach}
+ + {/if} + {if $billingDetailsFields} + {if $profileAddressFields} + + {/if} - {if $billingDetailsFields} - {if $profileAddressFields} - - - {/if} -
- {ts}Billing Name and Address{/ts} -
- {foreach from=$billingDetailsFields item=billingField} -
-
{$form.$billingField.label}
- {if $form.$billingField.type == 'text'} -
{$form.$billingField.html}
- {else} -
{$form.$billingField.html|crmAddClass:big}
- {/if} -
-
- {/foreach} -
-
- {/if} - +
+ {ts}Billing Name and Address{/ts} +
+ {foreach from=$billingDetailsFields item=billingField} +
+
{$form.$billingField.label}
+ {if $form.$billingField.type == 'text'} +
{$form.$billingField.html}
+ {else} +
{$form.$billingField.html|crmAddClass:big}
+ {/if} +
+
+ {/foreach} +
+
+ {/if} + {if $profileAddressFields}