{% load i18n %}

{% with title|capfirst as filter_title %}
	<select class='selectpicker filter-choice input-xs' data-header='{% trans filter_title %}' data-live-search='true'>
		{% for choice in choices %}
			{% if choice.selected %}
				<option selected='selected' value='{{ choice.query_string|iriencode }}' title='<strong>{% trans filter_title %}:</strong>  {{ choice.display }}'>
					{{ choice.display }}

				</option>
			{% else %}
				<option value='{{ choice.query_string|iriencode }}' title='<strong>{% trans filter_title %}:</strong> {{ choice.display }}'>
					{{ choice.display }}
				</option>
			{% endif %}
		{% endfor %}
	</select>
{% endwith %}
