mirror of
https://github.com/rjNemo/vf-site
synced 2026-06-12 12:06:39 +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] Create a base template for the header and footer
|
||||||
- [X] Build index page
|
- [X] Build index page
|
||||||
- [ ] Build room pages
|
- [X] Build room pages
|
||||||
- [x] T2
|
- [x] T2
|
||||||
- [ ] Build contact pages
|
- [x] T3
|
||||||
- [ ] Use netlify form for the contact form
|
- [X] Build contact pages
|
||||||
|
- [X] Use netlify form for the contact form
|
||||||
- [ ] Deploy to VillaFleurie's domain
|
- [ ] Deploy to VillaFleurie's domain
|
||||||
- [ ] Find attractions for landing page
|
- [ ] Find attractions for landing page
|
||||||
- [ ] Pick real reviews from AirBnB and Booking
|
- [ ] Pick real reviews from AirBnB and Booking
|
||||||
|
|
@ -21,4 +22,4 @@
|
||||||
## Excluded
|
## Excluded
|
||||||
|
|
||||||
* The article page
|
* 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
|
from jinja2 import Environment, FileSystemLoader, select_autoescape
|
||||||
|
|
||||||
engine = Environment(
|
engine = Environment(
|
||||||
loader=FileSystemLoader("templates"), autoescape=select_autoescape()
|
loader=FileSystemLoader("templates"),
|
||||||
|
autoescape=select_autoescape(),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,19 +25,19 @@
|
||||||
<p>.
|
<p>.
|
||||||
|
|
||||||
<!-- Contact Form -->
|
<!-- 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">
|
<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>
|
<label class="label-control" for="cname">Nom complet</label>
|
||||||
<div class="help-block with-errors"></div>
|
<div class="help-block with-errors"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<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>
|
<label class="label-control" for="cemail">Email</label>
|
||||||
<div class="help-block with-errors"></div>
|
<div class="help-block with-errors"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<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>
|
<label class="label-control" for="cmessage">Votre message</label>
|
||||||
<div class="help-block with-errors"></div>
|
<div class="help-block with-errors"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue