|
@@ -1,13 +1,13 @@
|
|
<form id="search-form" action="{{ path('search.ajax') }}" method="GET" {{ form_enctype(searchForm) }} autocomplete="off">
|
|
<form id="search-form" action="{{ path('search.ajax') }}" method="GET" {{ form_enctype(searchForm) }} autocomplete="off">
|
|
<div class="{% if orderBys is defined %}sortable{% endif %} row">
|
|
<div class="{% if orderBys is defined %}sortable{% endif %} row">
|
|
<div class="hidden">{{ form_errors(searchForm.query) }}</div>
|
|
<div class="hidden">{{ form_errors(searchForm.query) }}</div>
|
|
- <div class="{% if searchForm.vars.value.query is empty %}col-xs-12{% else %}col-xs-8{% endif %} js-search-field-wrapper col-sm-9">
|
|
|
|
|
|
+ <div class="{% if searchForm.vars.value.query is empty %}col-xs-12{% else %}col-xs-8{% endif %} js-search-field-wrapper col-md-9">
|
|
{{ form_widget(searchForm.query, {'attr': {'autocomplete': 'off', 'placeholder': 'Search packages...', 'tabindex': 1}}) }}
|
|
{{ form_widget(searchForm.query, {'attr': {'autocomplete': 'off', 'placeholder': 'Search packages...', 'tabindex': 1}}) }}
|
|
</div>
|
|
</div>
|
|
|
|
|
|
{% set hasActiveOrderBy = false %}
|
|
{% set hasActiveOrderBy = false %}
|
|
{% spaceless %}
|
|
{% spaceless %}
|
|
- <div id="order-bys-wrapper" class="col-xs-4 col-sm-3 col-lg-2{% if searchForm.vars.value.query is empty %} hidden{% endif %}">
|
|
|
|
|
|
+ <div id="order-bys-wrapper" class="col-xs-4 col-md-3 col-lg-2{% if searchForm.vars.value.query is empty %} hidden{% endif %}">
|
|
{% for sort, param in orderBys %}
|
|
{% for sort, param in orderBys %}
|
|
<a title="{{ param.title }}" href="{{ param.href }}" class="order-by-group">
|
|
<a title="{{ param.title }}" href="{{ param.href }}" class="order-by-group">
|
|
<i class="glyphicon {{ param.class }}{% if param.arrowClass is not empty %} active{% endif %}"></i>
|
|
<i class="glyphicon {{ param.class }}{% if param.arrowClass is not empty %} active{% endif %}"></i>
|