Fix JS for input buttons that are now button buttons
[civicrm-core.git] / templates / CRM / Event / Form / Search.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
4 | |
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 |
8 +--------------------------------------------------------------------+
9 *}
10 {* Search form and results for Event Participants *}
11 {assign var="showBlock" value="'searchForm'"}
12 {assign var="hideBlock" value="'searchForm_show'"}
13 <div class="crm-block crm-form-block crm-event-search-form-block">
14 <div class="crm-accordion-wrapper crm-advanced_search_form-accordion {if !empty($ssID) or $rows}collapsed{/if}">
15 <div class="crm-accordion-header crm-master-accordion-header">
16 {ts}Edit Search Criteria{/ts}
17 </div>
18 <div class="crm-accordion-body">
19 <div id="searchForm">
20 {strip}
21 <table class="form-layout">
22 {include file="CRM/Contact/Form/Search/ContactSearchFields.tpl"}
23
24 {include file="CRM/Event/Form/Search/Common.tpl"}
25
26 <tr>
27 <td colspan="2">{include file="CRM/common/formButtons.tpl"}</td>
28 </tr>
29 </table>
30 {/strip}
31 </div>
32 </div>
33 </div>
34 </div>
35 {if $rowsEmpty|| $rows}
36 <div class="crm-block crm-content-block">
37 {if $rowsEmpty}
38 <div class="crm-results-block crm-results-block-empty">
39 {include file="CRM/Event/Form/Search/EmptyResults.tpl"}
40 </div>
41 {/if}
42
43 {if $rows}
44 <div class="crm-results-block">
45 {* Search request has returned 1 or more matching rows. *}
46 {* This section handles form elements for action task select and submit *}
47 <div class="crm-search-tasks crm-event-search-tasks">
48 {include file="CRM/common/searchResultTasks.tpl" context='Event'}
49 </div>
50 {* This section displays the rows along and includes the paging controls *}
51 <div id='participantSearch' class="crm-event-search-results">
52 {include file="CRM/Event/Form/Selector.tpl" context="Search"}
53 </div>
54 {* END Actions/Results section *}
55 </div>
56 {/if}
57
58 </div>
59 {/if}