@if(Session('error'))
{!! Session('error') !!}
@endif
@if(Session('success'))
{!! Session('success') !!}
@endif
@if(count($errors))
@foreach($errors->all() as $error)
- {!! $error !!}
@endforeach
@endif
{!! html()->form()->id('contact-form')->class('contact-form')->attribute('onSubmit', 'return false;')->open() !!}
{!! html()->text('name')->id('contact_name')->class('input')->placeholder('Adınız Soyadınız') !!}
{!! html()->text('email')->id('contact_email')->class('input')->placeholder('E-mail Adresi') !!}
{!! html()->text('phone')->id('contact_phone')->class('input')->placeholder('Telefon Numarası') !!}
{!! html()->textarea('body')->id('message')->class('input')->placeholder('Mesajınız') !!}
@if(config('services.recaptcha.key'))
@endif
{!! html()->form()->close() !!}