<!-- Filter -->
<div class="filter">
<div class="fs-row">
<div class="fs-cell">
<div class="filter_inner">
<form class="filter_tools" action="#" method="get">
<div class="filter_tool">
<label class="filter_tool_label" for="filter_tool_label_1">Category</label>
<div class="filter_tool_select_wrapper">
<select class="filter_tool_select" id="filter_tool_label_1">
<option value="All Categories">All Categories</option>
<option value="Category One" selected>Category One</option>
<option value="Another Category">Another Category</option>
</select>
<span class="filter_tool_select_icon"><svg class="icon icon_expand">
<use href="/images/icons.svg#expand" />
</svg></span>
</div>
</div>
<div class="filter_tool">
<label class="filter_tool_label" for="filter_tool_search_input">Search</label>
<div class="filter_tool_search_wrapper">
<input class="filter_tool_search_input" id="filter_tool_search_input" placeholder="Search by name or department" type="search">
</div>
</div>
<div class="filter_tool">
<button class="filter_tool_submit" type="submit">
<span class="filter_tool_submit_inner">
<span class="filter_tool_submit_label">Submit</span>
</span>
</button>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- END: Filter -->
{#
{% include '@partial-filter' with {
label: 'Directory',
action_category: '#',
tools: [
{
label: 'Category',
options: [
{
label: 'All Categories',
label: true
}
]
}
],
search_placeholder: 'Placeholder',
results: '',
category: ''
} %}
#}
<!-- Filter -->
<div class="filter">
<div class="fs-row">
<div class="fs-cell">
<div class="filter_inner">
<form class="filter_tools" action="{{ action_category }}" method="get">
{% for tool in tools %}
<div class="filter_tool">
<label class="filter_tool_label" for="filter_tool_label_{{ loop.index }}">{{ tool.label }}</label>
<div class="filter_tool_select_wrapper">
<select class="filter_tool_select" id="filter_tool_label_{{ loop.index }}">
{% for option in tool.options %}
<option value="{{ option.label }}"{% if option.selected == true %} selected{% endif %}>{{ option.label }}</option>
{% endfor %}
</select>
<span class="filter_tool_select_icon">{{ icon('expand') }}</span>
</div>
</div>
{% endfor %}
<div class="filter_tool">
<label class="filter_tool_label" for="filter_tool_search_input">Search</label>
<div class="filter_tool_search_wrapper">
<input class="filter_tool_search_input" id="filter_tool_search_input" placeholder="{{ search_placeholder }}" type="search">
</div>
</div>
<div class="filter_tool">
<button class="filter_tool_submit" type="submit">
<span class="filter_tool_submit_inner">
<span class="filter_tool_submit_label">Submit</span>
</span>
</button>
</div>
</form>
{% if results != '' %}
<div class="filter_results">
<p class="filter_results_description">
<span class="filter_results_label">{{ results }} Results found for:</span>
<span class="filter_results_category">{{ category }}</span>
</p>
<div class="filter_results_action">
{% include '@partial-link' with {
class: 'filter_results_reset',
title: 'Reset',
url: 'page-news-listing.html',
icon: 'reset'
} %}
</div>
</div>
{% endif %}
</div>
</div>
</div>
</div>
<!-- END: Filter -->
No notes defined.