{* +--------------------------------------------------------------------+ | Copyright CiviCRM LLC. All rights reserved. | | | | This work is published under the GNU AGPLv3 license with some | | permitted exceptions and without any warranty. For full license | | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {* add/update/view CiviCRM Profile *} {if $action eq 8}

{ts}Delete CiviCRM Profile{/ts} - {$profileTitle}

{/if}
{* CRM-13693 Duplicate Delete button *} {if $action neq 8}
{include file="CRM/common/formButtons.tpl" location="top"}
{/if} {if ($action eq 2 or $action eq 4) and $snippet neq 'json' } {* Update or View*} {/if} {if $action eq 8 or $action eq 64}
{icon icon="fa-info-circle"}{/icon} {$message}
{else} {foreach from=$entityFields item=fieldSpec} {if not in_array($fieldSpec.name, $advancedFieldsConverted)} {assign var=fieldName value=$fieldSpec.name} {include file="CRM/Core/Form/Field.tpl"} {/if} {/foreach}
{$form.weight.label}{if $config->userSystem->is_drupal EQ '1'} {help id='id-profile_weight' file="CRM/UF/Form/Group.hlp"}{/if} {$form.weight.html}
{$form.help_pre.label} {help id='id-help_pre' file="CRM/UF/Form/Group.hlp"} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_uf_group' field='help_pre' id=$gid}{/if} {$form.help_pre.html}
{$form.help_post.label} {help id='id-help_post' file="CRM/UF/Form/Group.hlp"} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_uf_group' field='help_post' id=$gid}{/if} {$form.help_post.html}
{$form.is_active.html} {$form.is_active.label}
{* adding advance setting tab *} {include file='CRM/UF/Form/AdvanceSetting.tpl'} {/if}
{include file="CRM/common/formButtons.tpl" location="bottom"}
{include file="CRM/common/showHide.tpl"}