Skip to content

Commit

Permalink
CRM-21416: Add reset link beside 'Search' button below Advance Search…
Browse files Browse the repository at this point in the history
… form
  • Loading branch information
monishdeb committed Nov 10, 2017
1 parent f497baf commit 21d5f56
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion templates/CRM/Contact/Form/Search/AdvancedCriteria.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,15 @@ CRM.$(function($) {

<table class="form-layout">
<tr>
<td>{include file="CRM/common/formButtons.tpl" location="botton"}</td>
<td>
{include file="CRM/common/formButtons.tpl" location="bottom"}
<div class="crm-submit-buttons reset-advanced-search">
<a href="{crmURL p='civicrm/contact/search/advanced' q='reset=1'}" id="resetAdvancedSearch" class="crm-hover-button" title="{ts}Clear all search criteria{/ts}">
<i class="crm-i fa-undo"></i>
&nbsp;{ts}Reset Form{/ts}
</a>
</div>
</td>
</tr>
</table>
{/strip}

0 comments on commit 21d5f56

Please sign in to comment.