Delete Profile - buttons unnecessarily repeated
authormgbdev <mgbdev@gmail.com>
Fri, 22 Nov 2013 05:59:39 +0000 (11:29 +0530)
committermgbdev <mgbdev@gmail.com>
Fri, 22 Nov 2013 05:59:39 +0000 (11:29 +0530)
templates/CRM/UF/Form/Group.tpl

index 99c327453c1b888c8916968f62af3f58c254a7af..c72441be4d678219315772e84f110fb2b41a5378 100644 (file)
  <h3> {ts}Delete CiviCRM Profile{/ts} - {$profileTitle}</h3>
 {/if}
 <div class=" crm-block crm-form-block crm-uf_group-form-block">
+{* CRM-13693 Duplicate Delete button *}
+{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*}
     <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>