Unverified Commit c9bb7661 authored by Monish Deb's avatar Monish Deb Committed by GitHub

Merge pull request #13169 from elisseck/dev/core/482

dev/core/482 standardize contact edit form delete block behavior
parents 2d277de4 f336ee25
......@@ -41,7 +41,9 @@
<tr id="Website_Block_{$blockId}">
<td>{$form.website.$blockId.url.html|crmAddClass:url}&nbsp;</td>
<td>{$form.website.$blockId.website_type_id.html}</td>
<td colspan="3"><a href="#" title="{ts}Delete Website Block{/ts}" onClick="removeBlock('Website','{$blockId}'); return false;">{ts}delete{/ts}</a></td>
{if $blockId gt 1}
<td colspan="3"><a href="#" title="{ts}Delete Website Block{/ts}" onClick="removeBlock('Website','{$blockId}'); return false;">{ts}delete{/ts}</a></td>
{/if}
</tr>
{if !$addBlock}
<tr>
......@@ -50,4 +52,3 @@
</td>
</tr>
{/if}
......@@ -50,7 +50,9 @@
<tr id="Website_Block_{$blockId}" {if $blockId gt $actualBlockCount}class="hiddenElement"{/if}>
<td>{$form.website.$blockId.url.html|crmAddClass:url}&nbsp;</td>
<td>{$form.website.$blockId.website_type_id.html}</td>
<td><a class="crm-delete-inline crm-hover-button action-item" href="#" title="{ts}Delete Website{/ts}"><span class="icon delete-icon"></span></a></td>
{if $blockId gt 1}
<td><a class="crm-delete-inline crm-hover-button action-item" href="#" title="{ts}Delete Website{/ts}"><span class="icon delete-icon"></span></a></td>
{/if}
</tr>
{/section}
</table>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment