first commit
This commit is contained in:
commit
82f8b28353
28 files changed
+1210
No files matched your search
@@ -0,0 +1,42 @@
|
||||
<section class="page-section">
|
||||
<div class="content page-panel">
|
||||
<h1>Contact</h1>
|
||||
<div class="col--1-1">
|
||||
<div>
|
||||
<p>Vous avez un projet en tête ? Un service vous intéresse ? Ou simplement une question ? Ce formulaire est là pour ça !</p>
|
||||
</div>
|
||||
<div>
|
||||
<% if notice = flash["notice"] %>
|
||||
<p class="flash flash--notice" role="status"><%= notice %></p>
|
||||
<% end %>
|
||||
|
||||
<% if error = flash["error"] %>
|
||||
<p class="flash flash--error" role="alert"><%= error %></p>
|
||||
<% end %>
|
||||
|
||||
<form action="/contact/send" method="post" class="contact-form" accept-charset="UTF-8">
|
||||
<%== csrf_tag("/contact/send") %>
|
||||
|
||||
<div class="honeypot" aria-hidden="true">
|
||||
<label for="website">Site web</label>
|
||||
<input id="website" type="text" name="website" tabindex="-1" autocomplete="off">
|
||||
</div>
|
||||
|
||||
<label for="email">Email</label>
|
||||
<input id="email" type="email" name="email" maxlength="254" autocomplete="email" required>
|
||||
|
||||
<label for="name">Nom</label>
|
||||
<input id="name" type="text" name="name" maxlength="128" autocomplete="name" required>
|
||||
|
||||
<label for="subject">Objet</label>
|
||||
<input id="subject" type="text" name="subject" maxlength="200" required>
|
||||
|
||||
<label for="message">Message</label>
|
||||
<textarea id="message" name="message" cols="40" rows="10" maxlength="5000" required></textarea>
|
||||
|
||||
<input type="submit" value="Envoyer" class="submit">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
Reference in new issue
Block a user