{*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
*}
{* this template is used for building tabbed custom data *}
-{if $cdType }
- {include file="CRM/Custom/Form/CustomData.tpl"}
+{if $cdType || $postedInfo}
+ {include file="CRM/Custom/Form/CustomData.tpl"}
+ {if $multiRecordDisplay eq 'single'}
+ <div class="html-adjust">{$form.buttons.html}</div>
+ {/if}
{else}
<div id="customData"></div>
<div class="html-adjust">{$form.buttons.html}</div>
{*include custom data js file*}
{include file="CRM/common/customData.tpl"}
-
- {if $customValueCount }
+ {if $customValueCount}
{literal}
<script type="text/javascript">
var customValueCount = {/literal}"{$customValueCount}"{literal};