*}
{include file="CRM/common/chart.tpl"}
{* Alerts for critical configuration settings. *}
-{$communityMessages}
+{$communityMessages|default:''}
<div class="clear"></div>
<div class="crm-block crm-content-block">
<div>{$form.hidden}</div>
{/if}
-{if ($snippet !== 'json') and !$suppressForm and count($form.errors) gt 0}
+{if ($snippet !== 'json') and empty($suppressForm) and count($form.errors) gt 0}
<div class="messages crm-error">
<i class="crm-i fa-exclamation-triangle crm-i-red" aria-hidden="true"></i>
{ts}Please correct the following errors in the form fields below:{/ts}
| and copyright information, see https://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
-{if ! $suppressForm}
+{if empty($suppressForm)}
<form {$form.attributes} >
{crmRegion name='form-top'}{/crmRegion}
{/if}
{include file=$tplFile}
{/crmRegion}
-{if ! $suppressForm}
+{if empty($suppressForm)}
{crmRegion name='form-bottom'}{/crmRegion}
</form>
{/if}