{% extends 'base.html.twig' %}
{% block title %}Hello DefaultController!{% endblock %}
{% block body %}
<div class="page-title-area">
<div class="d-table">
<div class="d-table-cell">
<div class="container">
<div class="page-title-content">
<h2>Nous contacter</h2>
<ul>
<li><a href="{{path('app_default')}}">Accueil</a>
</li>
<li>Contact</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<!-- End Page Title Area -->
<!-- Start Contact Section -->
<div class="contact-section section-padding">
<div class="container">
<div class="row">
<div class="col-lg-4 col-md-12">
<div class="contact-information-box-3">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="single-contact-info-box">
<div class="contact-info">
<h6 style="font-weight:bold">Adresse:</h6>
<p>2 rue de Montvaux,</p>
<p>57865, AMANVILLERS</p>
</div>
<div class="contact-info-bg-icon">
<i class="pe-7s-map-marker"></i>
</div>
</div>
</div>
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="single-contact-info-box">
<div class="contact-info">
<h6 style="font-weight:bold">Téléphone :</h6>
<p><a href="tel:0033387645258">03 87 64 52 58</a></p>
<p><a href="tel:0033785864783">07 85 86 47 83</a></p>
</div>
<div class="contact-info-bg-icon">
<i class="pe-7s-call"></i>
</div>
</div>
</div>
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="single-contact-info-box">
<div class="contact-info">
<h6 style="font-weight:bold">Email:</h6>
<p><a href="mailto:jkcformations@gmail.com ">jkcformations@gmail.com </a></p>
</div>
<div class="contact-info-bg-icon">
<i class="pe-7s-mail"></i>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-8 col-md-12">
<div class="contact-form contact-form-3">
{% if app.request.get('message') %}
{% if app.request.get('message') == 'success' %}
<div class="alert alert-success" role="alert">
Votre message a bien été envoyé, vous serez recontacté dans les 24h.
</div>
{% else %}
<div class="alert alert-danger" role="alert">
Une erreur s'est produite lors de l'envoi du message. Merci de nous contacter par téléphone.
</div>
{% endif %}
{% endif %}
<form id="contact-form" class="form" action="{{path('envoiMail')}}" method="POST">
<div class="row">
<div class="col-lg-6 col-md-12">
<div class="form-group">
<input type="text" name="nom" id="name" class="form-control" required placeholder="Votre Nom"> </div>
</div>
<div class="col-lg-6 col-md-12">
<div class="form-group">
<input type="text" name="prenom" id="subject" class="form-control" required placeholder="Votre Prénom"> </div>
</div>
<div class="col-lg-6 col-md-12">
<div class="form-group">
<input type="text" name="tel" id="phone" required class="form-control" placeholder="Votre Téléphone"> </div>
</div>
<div class="col-lg-6 col-md-12">
<div class="form-group">
<input type="email" name="email" id="email" class="form-control" required placeholder="Votre Mail"> </div>
</div>
<div class="col-lg-12 col-md-12">
<div class="form-group">
<textarea name="commentaire" class="form-control" id="message" cols="30" rows="6" required placeholder="Votre Message"></textarea>
</div>
</div>
<div class="col-lg-6 col-md-6">
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<div class="g-recaptcha" data-sitekey="6Lct2FsiAAAAAB7spcA4hA64ov4DOxD7qYEr5FQo"></div>
</div>
<div class="col-lg-6 col-md-6">
<button type="submit" class="btn-style-three-js">Envoyer<span></span></button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- End Contact Section -->
<script src="{{asset('assets/js/owl.carousel.min.js')}}"></script>
<!-- Gmap3 Min JS -->
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDJ_mGhah8EApmFiXYYBsdBuygviP2M2EE"></script>
<script src="{{asset('assets/js/gmap3.min.js')}}"></script>
<!-- Google Map JS -->
<script src="{{asset('assets/js/wow.min.js')}}"></script>
<!-- Ajax Mail JS -->
</div>
<!-- End Page Title Area -->
<!-- End Counter Section -->
<!-- Start Tabs Solutions Section -->
<section class="tab-section home-2-tab section-padding">
<div class="container">
<div class="tab solutions-list-tab">
</div>
</div>
</section>
{% endblock %}