Merge pull request #17379 from colemanw/del
[civicrm-core.git] / templates / CRM / Pledge / Form / Search.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
1188c7a8 3 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 4 | |
1188c7a8
TO
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
6a488035
TO
8 +--------------------------------------------------------------------+
9*}
10{* Search form and results for Event Participants *}
11<div class="crm-form-block crm-search-form-block">
12<div class="crm-accordion-wrapper crm-advanced_search_form-accordion {if $rowsEmpty or $rows}collapsed{/if}">
13 <div class="crm-accordion-header crm-master-accordion-header">
14 {ts}Edit Search Criteria{/ts}
15 </div><!-- /.crm-accordion-header -->
16 <div class="crm-accordion-body">
17
18<div id="searchForm">
19 {strip}
20 <table class="form-layout">
0573fd28 21 {include file="CRM/Contact/Form/Search/ContactSearchFields.tpl"}
6a488035
TO
22 {include file="CRM/Pledge/Form/Search/Common.tpl"}
23
24 <tr>
25 <td colspan="2">{$form.buttons.html}</td>
26 </tr>
27 </table>
28 {/strip}
29 </div>
30</div>
31</div>
32</div>
33
34{if $rowsEmpty || $rows }
35
36<div class="crm-content-block">
37
38{if $rowsEmpty}
39 <div class="crm-results-block crm-results-block-empty">
40 {include file="CRM/Pledge/Form/Search/EmptyResults.tpl"}
41 </div>
42{/if}
43
44{if $rows}
45 <div class="crm-results-block">
46
47 {* Search request has returned 1 or more matching rows. *}
48
49 {* This section handles form elements for action task select and submit *}
50 <div class="crm-search-tasks">
51 {include file="CRM/common/searchResultTasks.tpl"}
52 </div>
53 {* This section displays the rows along and includes the paging controls *}
54 <div class="crm-search-results">
55 {include file="CRM/Pledge/Form/Selector.tpl" context="Search"}
56 </div>
57 {* END Actions/Results section *}
58</div>
59{/if}
60</div>
61{/if}