File: D:/HostingSpaces/SBogers10/immoginis.komma.pro/app/views/properties/filter_form.blade.php
{{ Form::open(['method' => 'get', 'url' => 'aanbod', 'id' => 'selectForm']) }}
{{--<div class="hide">
{{Form::label('city')}}
{{Form::text('city', Input::get('city'),['id'=>'cityField'])}}
</div>--}}
<div id="locationField">
<p>@lang('translations.locationFieldHeader')</p>
<span class="search"></span>
{{--<input id="autocomplete" placeholder="@lang('translations.locationFieldHeader')" type="text"/>--}}
{{-- {{Form::select('city', $cities['sale'], Input::get('city'), ['id' =>'cityField'])}}--}}
{{-- {{Form::select('citySet', $citySets, \Input::get('citySet'), ['id' =>'citySetField'])}}--}}
<select id="citySetField" name="citySet">
@foreach($citySets as $citySet)
<option value="{{ $citySet->id }}" @if(\Input::get('citySet') == $citySet->id) selected @endif>{{ $citySet->label }}</option>
@endforeach
</select>
</div>
<div class="hide">
{{Form::label('Beschikbaarheid')}}
{{Form::select('available',['0'=>'Kies beschikbaarheid','1'=>'Beschikbaar', '2'=> 'verhuurd/verkocht'],Input::get('available'))}}
</div>
<hr>
<div id="typeField">
<p class="selecting"><span id="select">@lang('translations.selectAll')</span> / <span id="deselect" class="inactive">@lang('translations.deselectAll')</span>
</p>
<p>@lang('translations.typeFieldHeader')</p>
<div class="boxes">
@foreach($formInfo['filter_types'] as $filter_type_key => $filter_type_name)
<div class="checkBox">
{{Form::checkbox($filter_type_key,true,Input::get($filter_type_key),['id'=>'type_'.$filter_type_key, 'class' => 'type_checkbox'])}}
{{Form::label('type_'.$filter_type_key,$filter_type_name)}}
</div>
@endforeach
<div class="clear"></div>
</div>
</div>
<hr>
<div id="priceField">
<p>@lang('translations.rentSale')</p>
{{Form::select('goal',['0'=> 'Beide','sale'=>'Te Koop', 'rent'=> 'Te Huur'],Input::get('goal'), ['id' =>'goal_property'])}}
<div class="hide">
<p>@lang('translations.priceFieldHeader')</p>
<span class="before">Van</span>{{Form::select('min_price',['0'=>'€ 0','50000'=>'€ 50.000', '100000'=> '€ 100.000', '150000'=> '€ 150.000', '200000'=> '€ 200.000', '250000'=> '€ 250.000', '300000'=> '€ 300.000', '350000'=> '€ 350.000', '400000'=> '€ 400.000', '450000'=> '€ 450.000'],Input::get('min_price'), ['id' =>'min_price'])}}<span class="arrow"></span>
<span class="before">Tot</span>{{Form::select('max_price',['0'=>trans('translations.noMax'),'50000'=>'€ 50.000', '100000'=> '€ 100.000', '150000'=> '€ 150.000', '200000'=> '€ 200.000', '250000'=> '€ 250.000', '300000'=> '€ 300.000', '350000'=> '€ 350.000', '400000'=> '€ 400.000', '450000'=> '€ 450.000'],Input::get('max_price'), ['id' =>'max_price'])}}<span class="arrow"></span>
</div>
<div class="clear"></div>
</div>
<div id="submitButton">
<p>@lang('translations.submitButton')</p>
</div>
<div class="hide">
{{ Form::submit('Zoeken') }}
</div>
{{ Form::close() }}