{% extends 'base.html.twig' %} {% block title %}Contact - {% endblock %} {% block body %}

Contactez-nous

{{ include('partials/_flash_messages.html.twig') }} {{ form_start(form, {'attr': {'class': 'space-y-6'}}) }}
{{ form_label(form.fullname, 'Nom Prénom*', {'label_attr': {'class': 'form-input-label'}}) }} {{ form_widget(form.fullname, {'attr': {'class': 'form-input', 'placeholder': 'Votre nom complet'}}) }} {% for error in form.fullname.vars.errors %}

{{ error.message }}

{% endfor %}
{{ form_label(form.email, 'Email*', {'label_attr': {'class': 'form-input-label'}}) }} {{ form_widget(form.email, {'attr': {'class': 'form-input', 'placeholder': 'votre@email.com'}}) }} {% for error in form.email.vars.errors %}

{{ error.message }}

{% endfor %}
{{ form_label(form.phone, 'Téléphone', {'label_attr': {'class': 'form-input-label'}}) }} {{ form_widget(form.phone, {'attr': {'class': 'form-input', 'placeholder': 'Votre numéro de téléphone'}}) }} {% for error in form.phone.vars.errors %}

{{ error.message }}

{% endfor %}
{{ form_label(form.subject, 'Sujet*', {'label_attr': {'class': 'form-input-label'}}) }} {{ form_widget(form.subject, {'attr': {'class': 'form-input', 'placeholder': 'Sujet de votre message'}}) }} {% for error in form.subject.vars.errors %}

{{ error.message }}

{% endfor %}
{{ form_label(form.message, 'Message*', {'label_attr': {'class': 'form-input-label'}}) }} {{ form_widget(form.message, {'attr': {'class': 'form-input h-32', 'placeholder': 'Votre message'}}) }} {% for error in form.message.vars.errors %}

{{ error.message }}

{% endfor %}
{{ form_end(form) }}
{% endblock %}