mirror of
https://github.com/rjNemo/vf-site
synced 2026-06-06 01:16:38 +00:00
alter form
This commit is contained in:
parent
d125c97d9f
commit
6f94bcd276
3 changed files with 11 additions and 9 deletions
|
|
@ -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
|
||||
|
|
@ -21,4 +22,4 @@
|
|||
## Excluded
|
||||
|
||||
* The article page
|
||||
* The language switcher
|
||||
* The language switcher
|
||||
|
|
|
|||
3
main.py
3
main.py
|
|
@ -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(),
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue