@extends('frontend.layouts.amp') @section('title', app_name() . ' | ' . __('labels.frontend.contact.box_title')) @push('head-area') {{-- --}} @endpush @section('content')

{{ $data['page']->heading }}

GET OFFICE INFO.

{!! $data['page']->content !!}

SEND US A MESSAGE

@include('includes.partials.messages') {{ html()->form('POST', route('frontend.contact.send'))->id('frm_contact')->open() }}
{{ html()->label(__('validation.attributes.frontend.name'))->for('name') }} {{ html()->text('name', optional(auth()->user())->name) ->class('form-control2') ->placeholder(__('validation.attributes.frontend.name')) ->attribute('maxlength', 191) ->required() ->autofocus() }}
{{ html()->label(__('validation.attributes.frontend.email'))->for('email') }} {{ html()->email('email', optional(auth()->user())->email) ->class('form-control2') ->placeholder(__('validation.attributes.frontend.email')) ->attribute('maxlength', 191) ->required() }}
{{ html()->label(__('validation.attributes.frontend.phone'))->for('phone') }} {{ html()->text('phone') ->class('form-control2') ->placeholder(__('validation.attributes.frontend.phone')) ->attribute('maxlength', 191) ->required() }}
{{ html()->label(__('validation.attributes.frontend.message'))->for('message') }} {{ html()->textarea('message') ->class('form-control2') ->placeholder(__('validation.attributes.frontend.message')) ->attribute('rows', 3 ) ->required() }}
@if(config('access.captcha.contact'))
@captcha {{ html()->hidden('captcha_status', 'true') }}
@endif
{{ form_submit(__('labels.frontend.contact.button')) }}
{{ html()->form()->close() }}
@endsection @push('after-scripts') @if(config('access.captcha.contact')) @captchaScripts @endif @endpush