<form action="{$url}" method="post">
	<div class="card-header bg-light py-2 header-elements-sm-inline">
		<h6 class="card-title">Сортировать</h6>
		<div class="header-elements">
			<ul class="list-inline list-inline-condensed mb-0">
				<li class="list-inline-item">
					<div class="form-group-feedback form-group-feedback-left wmin-sm-200">
						<input type="text" class="form-control" name="query" value="{if isset($query)}{$query}{/if}" autocomplete="off" placeholder="{products:general:searchByName}">
						<div class="form-control-feedback form-control-feedback-lg"><i class="icon-search4 text-muted"></i></div>
					</div>
				</li>
				<li class="list-inline-item">
					<div class="wmin-sm-200">{html_options options=$sections selected=$section|default:'' name="section" class="form-control select" onchange="this.form.submit()"}</div>
				</li>
				<li class="list-inline-item">
					<div class="wmin-sm-200">{html_options options=$statuses selected=$status|default:'' name="status" class="form-control select" onchange="this.form.submit()"}</div>
				</li>

				<li class="list-inline-item">
					<div class="text-right wmin-sm-200">
						<button type="submit" class="btn btn-primary legitRipple">{general:filter}</button>
					</div>
				</li>
			</ul>
		</div>
	</div>
</form>