File: D:/HostingSpaces/SBogers10/topswtw.komma.pro/app/views/pages/askHelp.blade.php
@extends('layouts.master')
@section('background')
<div class="bg-50"></div>
@stop
@section('sidebar')
@include('partials.sidebar',
['customerService' => (object)
[
'name' => 'Nicolette',
'url' => 'nicolette2'
]
])
@stop
@section('brandNavigationBar')
@include('partials.brandNavigationBar')
@stop
@section('content')
<div class="content-container column fluid-100">
<!-- Breadcrumb -->
@include('partials.breadcrumb')
<!-- Title -->
<h1 class="page-title">{{ $entity->name }}</h1>
<article class="text-block content-block column fluid-100">
<div class="column">
@if(Request::has('status') && Request::get('status') == 'success')
{{ $entity->description_two }}
@else
{{ $entity->description }}
{{--Start of Contact form--}}
{{ Form::open(['files'=>true,'url' => URL::action('askHelp.form.submit',['lang'=> $shop->getLanguageService()->getCurrentLanguage()])]) }}
{{-- Check for errors --}}
@if($errors->any())
@endif
{{-- Naam --}}
<div class="input-holder {{ $errors->first('name','error') }}">
{{ $errors->first('name', '<span class="message error">:message</span>') }}
{{ Form::label('name',Lang::get('form.first_name'). ' '.Lang::get('form.and').' ' .Lang::get('form.last_name')) }}
{{ Form::text('name',\Input::old('name') ) }}
</div>
{{-- E-mail --}}
<div class="input-holder column-half {{ $errors->first('email','error') }}">
{{ $errors->first('email', '<span class="message error">:message</span>') }}
{{ Form::label('email',Lang::get('form.email')) }}
{{ Form::text('email',\Input::old('email') ) }}
</div>
{{-- Phone --}}
<div class="input-holder column-half right {{ $errors->first('phone','error') }}">
{{ Form::label('phone',Lang::get('form.telephone')) }}
{{ Form::text('phone',\Input::old('phone') ) }}
</div>
{{--Brand--}}
<div class="input-holder column-half right {{ $errors->first('brand','error') }}">
{{ Form::label('brand',Lang::get('pages/askHelp.brand')) }}
{{ Form::text('brand',\Input::old('brand') ) }}
</div>
{{--Dimensions--}}
<div class="input-holder column-half right {{ $errors->first('dimensions','error') }}">
{{ Form::label('dimensions',Lang::get('pages/askHelp.dimensions')) }}
{{ Form::text('dimensions',\Input::old('dimensions') ) }}
</div>
{{--Image--}}
<div class="input-holder column-half right {{ $errors->first('image','error') }}">
{{ Form::label('image',Lang::get('pages/askHelp.image')) }}
{{ Form::file('image' ) }}
</div>
{{-- Message --}}
<div class="input-holder {{ $errors->first('question','error') }}">
{{ $errors->first('question', '<span class="question error">:message</span>') }}
{{ Form::label('question',Lang::get('form.question')) }}
{{ Form::textarea('question',\Input::old('question') ,['class'=>'small']) }}
</div>
{{-- spam filter --}}
<div class="input-holder birthday">
{{ Form::text('birthday' ) }}
</div>
<div class="btn-holder">
@include('partials.buttons.input',[
'text' => Lang::get('form.contact_btn'),
'input' => Form::submit('')
])
</div>
{{ Form::hidden('route',Request::path()) }}
{{ Form::close() }}
{{--End of contact form--}}
@endif
</div>
@if( ! empty($images))
@foreach($images as $image)
<figure>
<img src="{{ $image->large_image_url }}" alt="{{ $entity->name }}"/>
</figure>
@endforeach
@endif
</article>
</div>
@stop