vicky-remi-wedding-website/france/france_rsvp/templates/rsvp.html

41 lines
921 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>RSVP - Vicky &amp; Remi</title>
</head>
<body>
{% if error %}
<p class="error">{{ error }}</p>
{% endif %}
<form action="" method="POST">
<p>
<label for="adults">Adultes :</label>
<input
type="number"
name="adults" id="adults"
min="1" max="5"
{% if adults is not none %}
value="{{ adults }}"
{% else %}
value="1"
{% endif %}
/>
</p>
<p>
<label for="children">Enfants :</label>
<input
type="number"
name="children" id="children"
min="0" max="5"
{% if children is not none %}
value="{{ children }}"
{% else %}
value="0"
{% endif %}
/>
</p>
<p><input type="submit" value="RSVP" /></p>
</form>
</body>
</html>