<div data-id="filter-results" class="box-inner-small box-border-bottom md-hidden" style="display: block;">
<form action="" method="post" class="form form-vertical" id="630784824">
<fieldset>
<div class="control-group">
<div class="control-label">
<label id="carrental_filter_categories_label">Категория автомобиля</label>
</div>
<div class="control-field" id="carrental_filter_categories">
<label class="custom-block"><input type="checkbox" id="categories_select_all"> Выбрать всё</label>
<label class="custom-block"><input type="checkbox" class="categories_checkall" name="categories[]" value="1"> Economy</label>
<label class="custom-block"><input type="checkbox" class="categories_checkall" name="categories[]" value="2"> Mid Size</label>
<label class="custom-block"><input type="checkbox" class="categories_checkall" name="categories[]" value="3"> Luxury</label>
<label class="custom-block"><input type="checkbox" class="categories_checkall" name="categories[]" value="4"> Sport</label>
<label class="custom-block"><input type="checkbox" class="categories_checkall" name="categories[]" value="5"> SUV</label>
<label class="custom-block"><input type="checkbox" class="categories_checkall" name="categories[]" value="6"> Convertible</label>
<label class="custom-block"><input type="checkbox" class="categories_checkall" name="categories[]" value="7"> Minivan</label>
<label class="custom-block"><input type="checkbox" class="categories_checkall" name="categories[]" value="8"> Compact</label>
<label class="custom-block"><input type="checkbox" class="categories_checkall" name="categories[]" value="9"> Standard</label>
</div>
</div>
<br>
<input type="button" value="Изменить Поиск" class="btn btn-primary btn-block modify_search">
</fieldset>
</form>
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery('.modify_search').on('click', function() {
jQuery('#carrental_book_now').click();
});
jQuery('#categories_select_all').click(function() {
var checked = !jQuery(this).data('checked');
jQuery('.categories_checkall').prop('checked', checked);
jQuery(this).data('checked', checked);
});
jQuery('#vehicles_select_all').click(function() {
var checked = !jQuery(this).data('checked');
jQuery('.vehicles_checkall').prop('checked', checked);
jQuery(this).data('checked', checked);
});
jQuery('#carrental_filter_price_range_label').click(function() {
jQuery('#carrental_filter_price_range').toggle('fast');
});
jQuery('#carrental_filter_extras_label').click(function() {
jQuery('#carrental_filter_extras').toggle('fast');
});
jQuery('#carrental_filter_fuel_label').click(function() {
jQuery('#carrental_filter_fuel').toggle('fast');
});
jQuery('#carrental_filter_passangers_label').click(function() {
jQuery('#carrental_filter_passangers').toggle('fast');
});
jQuery('#carrental_filter_categories_label').click(function() {
jQuery('#carrental_filter_categories').toggle('fast');
});
jQuery('#carrental_filter_vehicles_label').click(function() {
jQuery('#carrental_filter_vehicles').toggle('fast');
});
jQuery('#carrental_set_order').on('click', function() {
var value = jQuery(this).attr('rel').toLowerCase();
jQuery('#carrental_order_input').val(value);
jQuery('#carrental_booking_form').submit();
});
});
</script>
</div>