File: D:/HostingSpaces/SBogers109/excellentexecutivesearch.nl/app/views/forms/smallOffer.blade.php
<div class="small-offer-form">
@if(!$page->send)
<h3>{{KommaLang::get('smallOfferForm.title')}}</h3>
<p>{{KommaLang::get('smallOfferForm.text')}}</p>
{{ Form::open(['url' => URL::to(route('smallOffer.process'), [], true), 'id' => 'smallOfferForm', 'class' => 'form']) }}
<input name="truckType" type="hidden" value="{{$page->project->translation->name_short}}">
<div class="name form-element ">
{{Form::label('name',trans('translations.name'))}}
<span class="error-message {{($errors->has('name')? 'active' :'')}}">{{$errors->first('name')}}</span>
{{ Form::text('name', Input::old('name'), ['id' => 'name']) }}
</div>
<div class="phone form-element">
{{Form::label('phone',trans('translations.phone'))}}
<span class="error-message {{($errors->has('phone')? 'active' :'')}}">{{$errors->first('phone')}}</span>
{{ Form::text('phone', Input::old('phone'), ['id' => 'phone']) }}
</div>
<div class="time-slot form-element select">
<p class="label">@lang('translations.bestContactMoment')</p>
<div class="select-wrapper">
<span class="icon"></span>
<select name="timeSlot" id="timeSlot">
@foreach(trans('translations.timeSlots') as $key => $value)
<option @if(Input::old('timeSlot', null) == $value) selected="selected"
@endif value="{{$value}}">{{$value}}</option>
@endforeach
</select>
</div>
</div>
<div class="submit">
<p class="button">
@lang('translations.send2')
</p>
{{ Form::submit(trans('translations.send2')) }}
</div>
{{ Form::close() }}
@endif
</div>