From 1af32af3f28a73ee7c89b66ae1191be6ed81bc5c Mon Sep 17 00:00:00 2001 From: yashodha Date: Wed, 3 Jan 2018 15:09:47 +0530 Subject: [PATCH] CRM-21621 - Provide ability to delete first website field --- templates/CRM/Contact/Form/Edit/Website.tpl | 2 +- templates/CRM/Contact/Form/Inline/Website.tpl | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/templates/CRM/Contact/Form/Edit/Website.tpl b/templates/CRM/Contact/Form/Edit/Website.tpl index b22a5d797e..c4ec37f6fd 100644 --- a/templates/CRM/Contact/Form/Edit/Website.tpl +++ b/templates/CRM/Contact/Form/Edit/Website.tpl @@ -41,7 +41,7 @@ {$form.website.$blockId.url.html|crmAddClass:url}  {$form.website.$blockId.website_type_id.html} - {if $blockId > 1} {ts}delete{/ts}{/if} + {ts}delete{/ts} {if !$addBlock} diff --git a/templates/CRM/Contact/Form/Inline/Website.tpl b/templates/CRM/Contact/Form/Inline/Website.tpl index f24694e778..5e26115865 100644 --- a/templates/CRM/Contact/Form/Inline/Website.tpl +++ b/templates/CRM/Contact/Form/Inline/Website.tpl @@ -50,11 +50,7 @@ {$form.website.$blockId.url.html|crmAddClass:url}  {$form.website.$blockId.website_type_id.html} - - {if $blockId > 1} - - {/if} - + {/section} -- 2.25.1