From: Eileen McNaughton Date: Mon, 27 Oct 2014 21:26:42 +0000 (+1300) Subject: CRM-15509 put div outside if statements & ensure fieldsets are enclosing within an... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c78d6d6025891829a33d04ee3cdeda949c9d16a1;p=civicrm-core.git CRM-15509 put div outside if statements & ensure fieldsets are enclosing within an if statement --- 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}