Merge pull request #18360 from colemanw/fixMultiInProfile
[civicrm-core.git] / templates / CRM / Member / 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 <div class="crm-form-block crm-search-form-block">
11 <div class="crm-accordion-wrapper crm-member_search_form-accordion {if $rows}collapsed{/if}">
12 <div class="crm-accordion-header crm-master-accordion-header">
13 {ts}Edit Search Criteria{/ts}
14 </div><!-- /.crm-accordion-header -->
15 <div class="crm-accordion-body">
16 {strip}
17 <table class="form-layout">
18 {include file="CRM/Contact/Form/Search/ContactSearchFields.tpl"}
19 {include file="CRM/Member/Form/Search/Common.tpl"}
20
21 <tr>
22 <td colspan="2">{include file="CRM/common/formButtons.tpl"}</td>
23 </tr>
24 </table>
25 {/strip}
26 </div><!-- /.crm-accordion-body -->
27 </div><!-- /.crm-accordion-wrapper -->
28 </div><!-- /.crm-form-block -->
29 <div class="crm-content-block">
30 {if $rowsEmpty}
31 <div class="crm-results-block crm-results-block-empty">
32 {include file="CRM/Member/Form/Search/EmptyResults.tpl"}
33 </div>
34 {/if}
35
36 {if $rows}
37 <div class="crm-results-block">
38 {* Search request has returned 1 or more matching rows. *}
39
40 {* This section handles form elements for action task select and submit *}
41 <div class="crm-search-tasks">
42 {include file="CRM/common/searchResultTasks.tpl"}
43 </div>
44
45 {* This section displays the rows along and includes the paging controls *}
46 <div id ="memberSearch" class="crm-search-results">
47 {include file="CRM/Member/Form/Selector.tpl" context="Search"}
48 </div>
49 {* END Actions/Results section *}
50 </div>
51 {/if}
52 </div>