---
title: Accueil
menu: Accueil
onpage_menu: false
visible: false
body_classes: title-h1h2 header-dark header-transparent

content:
    items: @self.modular

form:
    
    action: /home
    
    name: contact

    fields:
        nom:
          label: Nom
          placeholder: Nom
          autocomplete: on
          type: text
          validate:
            required: true

        email:
          label: Email
          placeholder: Adresse mail
          type: email
          validate:
            required: true

        message:
          label: Message
          placeholder: Message
          type: textarea
          validate:
            required: true

    buttons:
        submit:
          type: submit
          value: Envoyer
        reset:
          type: reset
          value: Annuler

    process:
        save:
            fileprefix: contact-
            dateformat: Ymd-His-u
            extension: txt
            body: "{% include 'forms/data.txt.twig' %}"
        message: Merci de nous avoir contacté !
---

<!--TODO: Add mail in form-->
