<{{$tag}} class="title-h2">{{ $title }}

{{ $subtitle }}

{{ Form::open(['route' => 'contact', 'class' => 'pt-2', 'id' => 'contact-form']) }} @if(isset($property)) {{ Form::hidden('property_id', $property->id) }} @endif @if($errors->any()) @endif @if(config('services.google.reCAPTCHA_pk')) {{ Form::hidden('recaptcha_response') }} @endif
{{ Form::text('name', null, ['class' => 'form-control'.($errors->has('name') ? ' is-invalid' : null), 'placeholder' => translate('nom').' *']) }} {!! $errors->first('name', ':message') !!}
{{ Form::text('phone', null, ['class' => 'form-control', 'placeholder' => translate('numero_telephone')]) }}
{{ Form::email('email', null, ['class' => 'form-control'.($errors->has('email') ? ' is-invalid' : null), 'placeholder' => translate('adresse_email').' *']) }} {!! $errors->first('email', ':message') !!}
{{ Form::textarea('message', null, ['class' => 'form-control'.($errors->has('message') ? ' is-invalid' : null), 'rows' => 5, 'placeholder' => translate('message').' *']) }} {!! $errors->first('message', ':message') !!}
@if(isset($newsletter))
{{ Form::checkbox('newsletter', 1, null, ['class' => 'custom-control-input', 'id' => 'newsletter']) }} {{ Form::label('newsletter', translate('accroche_inscription_newsletter'), ['class' => 'custom-control-label']) }}
@endif
{!! Form::checkbox('rgpd', 1, null, ['class' => 'custom-control-input'.($errors->has('rgpd') ? ' is-invalid' : null), 'id' => 'rgpd']) !!} {!! $errors->first('rgpd', ':message') !!}
{{ Form::close() }}