alter form

This commit is contained in:
Ruidy 2023-05-28 10:41:08 +02:00
parent d125c97d9f
commit 6f94bcd276
3 changed files with 11 additions and 9 deletions

View file

@ -6,10 +6,11 @@
- [X] Create a base template for the header and footer
- [X] Build index page
- [ ] Build room pages
- [X] Build room pages
- [x] T2
- [ ] Build contact pages
- [ ] Use netlify form for the contact form
- [x] T3
- [X] Build contact pages
- [X] Use netlify form for the contact form
- [ ] Deploy to VillaFleurie's domain
- [ ] Find attractions for landing page
- [ ] Pick real reviews from AirBnB and Booking

View file

@ -3,7 +3,8 @@ from os import path
from jinja2 import Environment, FileSystemLoader, select_autoescape
engine = Environment(
loader=FileSystemLoader("templates"), autoescape=select_autoescape()
loader=FileSystemLoader("templates"),
autoescape=select_autoescape(),
)

View file

@ -25,19 +25,19 @@
<p>.
<!-- Contact Form -->
<form id="contactForm" data-toggle="validator" data-focus="false" netlify>
<form id="contactForm" name="contactForm" data-toggle="validator" data-focus="false" netlify>
<div class="form-group">
<input type="text" class="form-control-input" id="cname" required>
<input type="text" class="form-control-input" id="cname" name="name" required>
<label class="label-control" for="cname">Nom complet</label>
<div class="help-block with-errors"></div>
</div>
<div class="form-group">
<input type="email" class="form-control-input" id="cemail" required>
<input type="email" class="form-control-input" id="cemail" name="email" required>
<label class="label-control" for="cemail">Email</label>
<div class="help-block with-errors"></div>
</div>
<div class="form-group">
<textarea class="form-control-textarea" id="cmessage" required></textarea>
<textarea class="form-control-textarea" id="cmessage" name="message" required></textarea>
<label class="label-control" for="cmessage">Votre message</label>
<div class="help-block with-errors"></div>
</div>