From 9fbfec0ecfac6d83b28d31817590b03a8654d37c Mon Sep 17 00:00:00 2001
From: Eloi Perdereau <eloi@perdereau.eu>
Date: Tue, 17 Nov 2020 20:56:18 +0100
Subject: [PATCH] =?UTF-8?q?formulaire=20pour=20nous=20=C3=A9crire?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 _includes/write-us-form.html | 14 ++++++++++++++
 _pages/l-asso/contacts.md    |  5 +++++
 2 files changed, 19 insertions(+)
 create mode 100644 _includes/write-us-form.html

diff --git a/_includes/write-us-form.html b/_includes/write-us-form.html
new file mode 100644
index 0000000..7fd74bf
--- /dev/null
+++ b/_includes/write-us-form.html
@@ -0,0 +1,14 @@
+<form name="write-us" method="POST" data-netlify="true">
+  <p>
+    <label>Nom ou pseudo : <input type="text" name="name" /></label>
+  </p>
+  <p>
+    <label>Email pour te répondre : <input type="email" name="email" /></label>
+  </p>
+  <p>
+  <label>Message : <textarea name="comment"></textarea></label>
+  </p>
+  <p>
+    <button type="submit">Envoyer</button>
+  </p>
+</form>
diff --git a/_pages/l-asso/contacts.md b/_pages/l-asso/contacts.md
index 0babb30..d5e578e 100644
--- a/_pages/l-asso/contacts.md
+++ b/_pages/l-asso/contacts.md
@@ -25,6 +25,11 @@ share: false
 - [centre-culturel@luminy.org](mailto:centre-culturel@luminy.org)
 - [webmasters@luminy.org](mailto:webmasters@luminy.org)
 - [<i class="fab fa-facebook-square"></i> CCLuminy]({{ urls.fb-ccl }}){: .btn .btn--inverse}
+- ou directement : <button class="collapsible" id="formulaire-contact">Nous envoyer un message</button>
+<div class="content" id="formulaire-contactdata" markdown="1"
+style="display: none">
+{% include write-us-form.html %}
+</div>
 
 ### Donne-nous des infos sur toi si tu veux reçevoir nos infos
 
-- 
GitLab