templates/pages/page.contactez-nous.html.twig line 1
{% extends 'base.html.twig' %}
{% block title %}{{ settings[0].siteName }} : {{ page.name }}{% endblock %}
{% block body %}
{% include '_includes/_breadcrumbs.html.twig' %}
<div class="container pt-5">
<div class="row d-flex justify-content-center mb-4">
<div class="col-lg-6 col-sm-12 text-center">
<h4 class="text-uppercase fw-bold color1">{{ page.title|raw }}</h4>
<p class="small color2">{{ page.subtitle|replace({'<div>': '', '</div>': '', '<p>': '', '</p>': '',})|raw }}
</p>
</div>
</div>
</div>
<div class="container mb-3">
<div class="row d-flex justify-content-center">
<div class="col-lg-8 col-sm-12">
{{ form_start(form) }}
{% for message in app.flashes('success') %}
<div class="alert alert-success alert-dismissible fade show" role="alert">
{{ message }}
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
{% endfor %}
<div class="bg-danger">
{{ form_errors(form) }}
</div>
<div class="row">
<div class="col-lg-6 col-sm-12">
{{ form_row(form.nom) }}
</div>
<div class="col-lg-6 col-sm-12">
{{ form_row(form.prenom) }}
</div>
</div>
<div class="row">
<div class="col-lg-6 col-sm-12">
{{ form_row(form.telephone) }}
</div>
<div class="col-lg-6 col-sm-12">
{{ form_row(form.email) }}
</div>
</div>
<div class="row">
<div class="col">
{{ form_row(form.sujet) }}
</div>
</div>
<div class="row">
<div class="col">
{{ form_row(form.message) }}
</div>
</div>
<div class="row">
<div class="col text-small">
Merci de recopier le code antispam :
<span class="ms-2">{{ form_row(form.captcha) }}</span>
</div>
</div>
<p style="font-size: 0.7rem;">*Champs obligatoires</p>
<div class="mb-3 text-center">
<button type="submit" class="button">Envoyer le message</button>
</div>
{{ form_end(form) }}
</div>
</div>
</div>
<div class="container py-4">
<div class="row g-5">
{% for cab in cabinets %}
<div class="col-lg-6 col-sm-12 text-center">
<img src="{{ asset('assets/img/cabinets/' ~ cab.map ) }}" alt="{{ cab.title }}" class="img-fluid" style="">
<div class="bgcolor-1 d-flex flex-column justify-content-center align-items-center" style="height: 250px;">
<h4 class="text-white text-uppercase fw-bold">{{ cab.title }}</h4>
<p class="text-small color3 mt-3">
{{ cab.adresse }}<br>
{{ cab.cp }} {{ cab.ville }}<br>
{{ cab.telephone }}<br>
{{ cab.fax }}
</p>
</div>
</div>
{% endfor %}
</div>
</div>
{% endblock %}