File: D:/HostingSpaces/SBogers60/vandeurzenheftrucks.nl/app/views/forms/offer.blade.php
<div class="contact-form">
<div class="inner">
@if($sent == false)
{{ Form::open(['url' => URL::to(route('offer.process'), [], true), 'id' => 'offerForm', 'class' => 'form']) }}
<div class="form-element select-element {{($errors->has('category')? 'error' :'')}}">
<span class="icon"></span>
{{Form::label('category',trans('translations.category'))}}
{{Form::select('category', ['Heftrucks tot 8 ton' => 'Heftrucks tot 8 ton',
'Heftrucks over 8 ton' => 'Heftrucks over 8 ton',
'Ruwterrein / verreikers'=> 'Ruwterrein / verreikers',
'Pallettrucks' => 'Pallettrucks',
'Stapelaars'=>'Stapelaars',
'Hoogwerkers'=>'Hoogwerkers',
'Zijladers'=>'Zijladers',
'Veegmachines'=>'Veegmachines',
'Trekkers'=>'Trekkers'], Input::get('category'), ['id' =>'category'])}}
</div>
<div class="form-element {{($errors->has('company')? 'error' :'')}}">
<span class="error {{($errors->has('company')? 'active' :'')}}">{{$errors->first('company')}}</span>
{{Form::label('company',trans('translations.company'))}}
{{ Form::text('company', Input::old('company'), ['id' => 'company', 'placeholder'=> trans('translations.company')]) }}
</div>
<div class="form-element {{($errors->has('location')? 'error' :'')}}">
<span class="error {{($errors->has('location')? 'active' :'')}}">{{$errors->first('location')}}</span>
{{Form::label('location',trans('translations.location'))}}
{{ Form::text('location', Input::old('location'), ['id' => 'location', 'placeholder'=> trans('translations.location')]) }}
</div>
<div class="form-element {{($errors->has('contact_person')? 'error' :'')}}">
<span class="error {{($errors->has('contact_person')? 'active' :'')}}">{{$errors->first('contact_person')}}</span>
{{Form::label('contact_person',trans('translations.contact_person'))}}
{{ Form::text('contact_person', Input::old('contact_person'), ['id' => 'contact_person', 'placeholder'=> trans('translations.contact_person')]) }}
</div>
<div class="form-element {{($errors->has('email')? 'error' :'')}}">
<span class="error {{($errors->has('email')? 'active' :'')}}">{{$errors->first('email')}}</span>
{{Form::label('email',trans('translations.email'))}}
{{ Form::email('email', Input::old('email'), ['id' => 'email', 'placeholder'=> trans('translations.email')]) }}
</div>
<div class="form-element {{($errors->has('phone')? 'error' :'')}}">
<span class="error {{($errors->has('phone')? 'active' :'')}}">{{$errors->first('phone')}}</span>
{{Form::label('phone',trans('translations.phone'))}}
{{ Form::text('phone', Input::old('phone'), ['id' => 'phone', 'placeholder'=> trans('translations.phone')]) }}
</div>
<div class="message form-element {{($errors->has('formMessage')? 'error' :'')}}">
<span class="error {{($errors->has('formMessage')? 'active' :'')}}">{{$errors->first('formMessage')}}</span>
{{Form::label('formMessage',trans('translations.extraMessage'))}}
{{ Form::textarea('formMessage', Input::old('formMessage') ,['id'=>'formMessage', 'rows'=>'6', 'data-autoresize'=>'', 'placeholder' => trans('translations.extraMessage')]) }}
</div>
<div class="clear"></div>
<div class="btn">
<input type="submit" name="submit" value="Verzenden" />
<span class="arrow"></span>
<span class="shadow"></span>
</div>
{{ Form::close() }}
@endif
<div class="thanks {{($sent==false?'inactive':'')}}">
<h2>@lang('mail.thanks')</h2>
<p>
@lang('mail.contact.thanksMessage')
</p>
</div>
</div>
</div>