From 4bb6b4e3265103749e6337f3bf547e6e6f215dda Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sat, 16 Mar 2013 15:48:44 -0700 Subject: [PATCH] Whitespace cleanup --- templates/CRM/Custom/Form/CustomData.tpl | 86 +++++++++++++----------- 1 file changed, 45 insertions(+), 41 deletions(-) diff --git a/templates/CRM/Custom/Form/CustomData.tpl b/templates/CRM/Custom/Form/CustomData.tpl index eb32308b3b..89a8b057e2 100644 --- a/templates/CRM/Custom/Form/CustomData.tpl +++ b/templates/CRM/Custom/Form/CustomData.tpl @@ -25,50 +25,54 @@ *} {* Custom Data form*} {if $formEdit} - {if $cd_edit.help_pre} -
{$cd_edit.help_pre}
- {/if} - - {foreach from=$cd_edit.fields item=element key=field_id} - {include file="CRM/Custom/Form/CustomField.tpl"} - {/foreach} -
-
- {if $cd_edit.help_post}
{$cd_edit.help_post}
{/if} - {if $cd_edit.is_multiple and ( ( $cd_edit.max_multiple eq '' ) or ( $cd_edit.max_multiple > 0 and $cd_edit.max_multiple >= $cgCount ) ) } - - {/if} -{else} -{foreach from=$groupTree item=cd_edit key=group_id name=custom_sets} -
- {if !$skipTitle} -
- {$cd_edit.title} -
+ {if $cd_edit.help_pre} +
{$cd_edit.help_pre}
+ {/if} + + {foreach from=$cd_edit.fields item=element key=field_id} + {include file="CRM/Custom/Form/CustomField.tpl"} + {/foreach} +
+
+ {if $cd_edit.help_post} +
{$cd_edit.help_post}
{/if} -
- {if $cd_edit.help_pre} -
{$cd_edit.help_pre}
- {/if} - - {foreach from=$cd_edit.fields item=element key=field_id} - {include file="CRM/Custom/Form/CustomField.tpl"} - {/foreach} -
-
- {if $cd_edit.help_post}
{$cd_edit.help_post}
{/if} -
-
- {if $cd_edit.is_multiple and ( ( $cd_edit.max_multiple eq '' ) or ( $cd_edit.max_multiple > 0 and $cd_edit.max_multiple >= $cgCount ) ) } - + {if $cd_edit.is_multiple and ( ( $cd_edit.max_multiple eq '' ) or ( $cd_edit.max_multiple > 0 and $cd_edit.max_multiple >= $cgCount ) ) } + + {/if} +{else} + {foreach from=$groupTree item=cd_edit key=group_id name=custom_sets} +
+ {if !$skipTitle} +
+ {$cd_edit.title} +
+ {/if} +
+ {if $cd_edit.help_pre} +
{$cd_edit.help_pre}
+ {/if} + + {foreach from=$cd_edit.fields item=element key=field_id} + {include file="CRM/Custom/Form/CustomField.tpl"} + {/foreach} +
+
+ {if $cd_edit.help_post} +
{$cd_edit.help_post}
{/if} +
+
+ {if $cd_edit.is_multiple and ( ( $cd_edit.max_multiple eq '' ) or ( $cd_edit.max_multiple > 0 and $cd_edit.max_multiple >= $cgCount ) ) } + + {/if}
-{/foreach} - + {/if} -- 2.25.1