From 7b5b2e36e10f519db4f05df979497d829fc9a6b9 Mon Sep 17 00:00:00 2001 From: Adrian Hinz Date: Wed, 4 May 2022 19:39:55 +0200 Subject: [PATCH] contact form --- app/views/home/_contact_form.html.erb | 2 +- app/views/home/statutes/_statut.html.erb | 44 +++++++++++++++++++++++- 2 files changed, 44 insertions(+), 2 deletions(-) diff --git a/app/views/home/_contact_form.html.erb b/app/views/home/_contact_form.html.erb index 3594db5..fe86b1d 100644 --- a/app/views/home/_contact_form.html.erb +++ b/app/views/home/_contact_form.html.erb @@ -1,6 +1,6 @@
<%= form_with(model: email_message, url: '/home/register_contact', method: :post, remote: true, id: 'contact_form_form') do |form| %> -