Contact form finished

main
Marc Riera Irigoyen 2018-03-05 16:24:02 +01:00
parent 217d3e73d3
commit 8088cd1df3
5 changed files with 53 additions and 23 deletions

View File

@ -6,22 +6,15 @@ menu:
weight: 6 weight: 6
url: "/contacta/" url: "/contacta/"
--- ---
Pàgina no disponible temporalment. Disculpeu les molèsties. Si necessiteu ajuda, teniu suggeriments o trobeu errors mentre feu servir amb els nostres continguts a lopenBVE, podeu escriure un missatge aquí i ho intentarem resoldre el més aviat possible.
<form name="contact" action="#" netlify> <form name="contact" netlify-honeypot="bot-field" netlify>
<p hidden> <p hidden><label>Dont fill this out: <input type="text" name="bot-field"/></p>
<label>Dont fill this out: <input type="text" name="bot-field"/> <label>Nom</label>
<p> <input type="text" name="name" required>
<p> <label>Correu electrònic</label>
<label>Nom: <input type="text" name="name"></label> <input type="email" name="email" required>
</p> <label>Missatge</label>
<p> <textarea name="message" required></textarea>
<label>Correu electrònic: <input type="email" name="email"></label>
</p>
<p>
<label>Missatge: <textarea name="message"></textarea></label>
</p>
<p>
<button type="submit">Envia</button> <button type="submit">Envia</button>
</p>
</form> </form>

View File

@ -7,4 +7,15 @@ menu:
weight: 6 weight: 6
url: "/contact/" url: "/contact/"
--- ---
This page is temporarily unavailable. Sorry for the inconvenience. If you need help, have a suggestion or have found errors while using our openBVE contents, leave a message here and we will try to find a solution as soon as possible.
<form name="contact" netlify-honeypot="bot-field" netlify>
<p hidden><label>Dont fill this out: <input type="text" name="bot-field"/></p>
<label>Name</label>
<input type="text" name="name" required>
<label>Email</label>
<input type="email" name="email" required>
<label>Message</label>
<textarea name="message" required></textarea>
<button type="submit">Send</button>
</form>

View File

@ -7,4 +7,15 @@ menu:
weight: 6 weight: 6
url: "/contacto/" url: "/contacto/"
--- ---
Página no disponible temporalmente. Disculpa las molestias. Si necessitas ayuda, tienes sugerencias o has encontrado algún error usando nuestros contenidos para openBVE, puedes escribir un mensaje aquí e intentaremos resolverlo lo antes posible.
<form name="contact" netlify-honeypot="bot-field" netlify>
<p hidden><label>Dont fill this out: <input type="text" name="bot-field"/></p>
<label>Nombre</label>
<input type="text" name="name" required>
<label>Correo electrónico</label>
<input type="email" name="email" required>
<label>Mensaje</label>
<textarea name="message" required></textarea>
<button type="submit">Enviar</button>
</form>

View File

@ -1,4 +0,0 @@
---
title: "Missatge enviat"
---
S'ha enviat correctament el vostre missatge. Moltes gràcies!

View File

@ -308,6 +308,25 @@ table img {
color: #208DCC; color: #208DCC;
} }
form label {
display: block;
}
form textarea,
form input {
margin-top: 10px;
margin-bottom: 20px;
width: 100%;
display: block;
box-sizing: border-box;
}
form textarea {
height: 160px;
width: 100%;
resize: none;
}
@media screen and (max-width: 699px) { @media screen and (max-width: 699px) {
#site-logo { #site-logo {
display: block; display: block;