File: D:/HostingSpaces/BVerhoeven/verhoevendak.nl/app/views/forms/offerte.blade.php
<div class="offerte-form">
@if(isset($page->send) && $page->send)
<h2>@lang('mail.thanks')</h2>
<p>
@lang('mail.contact.thanksMessage')
</p>
@else
@if(isset($page->content->translation->description['contact_form']))
<h2>{{$page->content->translation->description['contact_form']->typeName}}</h2>
{{$page->content->translation->description['contact_form']->description}}
@endif
{{ Form::open(['url' => URL::to(route('contact.process'), [], true), 'id' => 'contactForm', 'class' => 'form']) }}
<div class="first_name form-element pull-left">
<span class="error-message {{($errors->has('first_name')? 'active' :'')}}">{{$errors->first('first_name')}}</span>
{{ Form::text('first_name', Input::old('first_name'), ['id' => 'first_name']) }}
{{Form::label('first_name',trans('translations.first_name'))}}
</div>
<div class="last_name form-element pull-right">
<span class="error-message {{($errors->has('last_name')? 'active' :'')}}">{{$errors->first('last_name')}}</span>
{{ Form::text('last_name', Input::old('last_name'), ['id' => 'last_name']) }}
{{Form::label('last_name',trans('translations.last_name'))}}
</div>
<div class="email form-element pull-left">
<span class="error-message {{($errors->has('email')? 'active' :'')}}">{{$errors->first('email')}}</span>
{{ Form::email('email', Input::old('email'), ['id' => 'email']) }}
{{Form::label('email',trans('translations.email'))}}
</div>
<div class="phone form-element pull-right">
<span class="error-message {{($errors->has('phone')? 'active' :'')}}">{{$errors->first('phone')}}</span>
{{ Form::text('phone', Input::old('phone'), ['id' => 'phone']) }}
{{Form::label('phone',trans('translations.phone'))}}
</div>
<div class="extra_message form-element text-area">
<span class="error-message {{($errors->has('formMessage')? 'active' :'')}}">{{$errors->first('formMessage')}}</span>
{{ Form::textarea('formMessage', Input::old('formMessage') ,['id'=>'formMessage', 'rows'=>'6']) }}
{{Form::label('formMessage',trans('translations.extraMessage'))}}
</div>
<div class="submit">
<p>@lang('translations.send')</p>
{{ Form::submit(trans('translations.send'), ['class' => 'button blue arrow']) }}
</div>
{{ Form::close() }}
@endif
</div>