@extends('backEnd.master') @section('title') @lang('front_settings.contact_page') @endsection @section('mainContent')
@if(isset($update))
@if(isset($update)) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'contactPageStore', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }} @else {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'visitor_store', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }} @endif

@if(isset($update)) @lang('common.edit') @else @lang('common.add') @endif

@if ($errors->has('title')) {{ $errors->first('title') }} @endif
@if ($errors->has('button_text')) {{ $errors->first('button_text') }} @endif
@if ($errors->has('button_url')) {{ $errors->first('button_url') }} @endif
@if ($errors->has('address')) {{ $errors->first('address') }} @endif
@if ($errors->has('address_text')) {{ $errors->first('address_text') }} @endif
@if ($errors->has('phone')) {{ $errors->first('phone') }} @endif
@if ($errors->has('phone_text')) {{ $errors->first('phone_text') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('email_text')) {{ $errors->first('email_text') }} @endif
@if ($errors->has('latitude')) {{ $errors->first('latitude') }} @endif
@if ($errors->has('longitude')) {{ $errors->first('longitude') }} @endif
@if ($errors->has('zoom_level')) {{ $errors->first('zoom_level') }} @endif
@if ($errors->has('google_map_address')) {{ $errors->first('google_map_address') }} @endif
@if($errors->has('description')) {{ $errors->first('description') }} @endif
image) : trans('front_settings.image') .' *' : trans('front_settings.image') .' *' }}" readonly> @if($errors->has('image')) {{ $errors->first('image') }} @endif
@lang('front_settings.image')(1420px*450px)
@if(Illuminate\Support\Facades\Config::get('app.app_sync')) @else @endif
{{ Form::close() }}
@endif

@lang('front_settings.info')

@if(userPermission('contactPageEdit')) @endif
@lang('front_settings.title') @lang('common.description') @lang('front_settings.button_text') @lang('front_settings.button_url') @lang('front_settings.image') @lang('common.action')
{{$contact_us != ""? $contact_us->title:""}} {{$contact_us != ""? $contact_us->description:""}} {{$contact_us != ""? $contact_us->button_text:""}} {{$contact_us != ""? $contact_us->button_url:""}} @if($contact_us != "") @if(userPermission('contactPageStore')) @lang('common.view') @endif @endif @lang('common.edit')
@endsection