Skip to content

Commit

Permalink
Merge pull request civicrm#11260 from JMAConsulting/CRM-21416
Browse files Browse the repository at this point in the history
CRM-21416: Add reset link beside 'Search' button below Advance Search form
  • Loading branch information
colemanw authored and sluc23 committed Jan 10, 2018
2 parents 46bb0d5 + 7b4e8fc commit 93681fe
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 93681fe

Please sign in to comment.