From 598648ef04a6c78eb2389fe66c6170a2b782b85c Mon Sep 17 00:00:00 2001
From: Eloi Perdereau <eloi@perdereau.eu>
Date: Tue, 17 Nov 2020 15:22:40 +0100
Subject: [PATCH] add netlify contact form for testing

---
 _includes/contact-form.html | 20 ++++++++++++++++++++
 _pages/l-asso/contacts.md   |  2 ++
 2 files changed, 22 insertions(+)
 create mode 100644 _includes/contact-form.html

diff --git a/_includes/contact-form.html b/_includes/contact-form.html
new file mode 100644
index 0000000..2973652
--- /dev/null
+++ b/_includes/contact-form.html
@@ -0,0 +1,20 @@
+<form name="contact" method="POST" data-netlify="true">
+  <p>
+    <label>Your Name: <input type="text" name="name" /></label>   
+  </p>
+  <p>
+    <label>Your Email: <input type="email" name="email" /></label>
+  </p>
+  <p>
+    <label>sujet: <select name="subject[]" multiple>
+      <option value="leader">adhésion</option>
+      <option value="follower">infos</option>
+    </select></label>
+  </p>
+  <p>
+    <label>Message: <textarea name="message"></textarea></label>
+  </p>
+  <p>
+    <button type="submit">Send</button>
+  </p>
+</form>
diff --git a/_pages/l-asso/contacts.md b/_pages/l-asso/contacts.md
index 3cb67ce..9f30cb1 100644
--- a/_pages/l-asso/contacts.md
+++ b/_pages/l-asso/contacts.md
@@ -87,3 +87,5 @@ Association loi 1901 à but non lucratif [Statuts](/ccl/statuts/){: .btn
 
 ## Fonctionnement `luminy.org`
 Voir [<i class="fab fa-github" aria-hidden="true"></i> Github]({{ urls.github-ccl }}/blob/master/README.md#fonctionnement-du-site-pour-les-plus-motivés){: .btn .btn--inverse}
+
+{% include contact-form.html %}
-- 
GitLab