{if $action neq 8}
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
{/if}
-{if $action eq 2 or $action eq 4 } {* Update or View*}
+{if ($action eq 2 or $action eq 4) and $snippet neq 'json' } {* Update or View*}
<div class="action-link">
<a href="{crmURL p='civicrm/admin/uf/group/field' q="action=browse&reset=1&gid=$gid"}" class="button"><span>{ts}View or Edit Fields for this Profile{/ts}</a></span>
<div class="clear"></div>
</tr>
<tr class="crm-uf_group-form-block-description">
<td class="label">{$form.description.label} {help id='id-description' file="CRM/UF/Form/Group.hlp"}</td>
- <td class="html-adjust">{$form.description.html}</td>
+ <td class="html-adjust">{$form.description.html}</td>
</tr>
<tr class="crm-uf_group-form-block-uf_group_type">
<td class="label">{$form.uf_group_type.label} {help id='id-used_for' file="CRM/UF/Form/Group.hlp"}</td>
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
</div>
{include file="CRM/common/showHide.tpl"}
-
-{* include jscript to warn if unsaved form field changes *}
-{include file="CRM/common/formNavigate.tpl"}
-