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

58 lines
1.3 KiB
HTML
Raw Normal View History

{% extends "layout.html" %}
{% block title %}RSVP -{% endblock %}
{% block navitems %}
2022-05-23 02:51:32 +00:00
<li class="nav-item">
<a class="nav-link" href="{{ url_for('index') }}">Info</a>
</li>
{% endblock %}
{% block content %}
{% if error %}
<p class="error">{{ error }}</p>
{% endif %}
2022-05-23 02:51:32 +00:00
<form action="" method="POST">
2022-05-23 02:51:32 +00:00
<div class="row g-3 align-items-center">
<div class="col-auto">
<label for="adults" class="col-form-label text-dark">Adultes :</label>
</div>
<div class="col-auto">
2022-05-23 02:51:32 +00:00
<input
type="number" class="form-control"
name="adults" id="adults"
min="1" max="5"
{% if adults is not none %}
value="{{ adults }}"
{% else %}
value="1"
{% endif %}
/>
</div>
</div>
<div class="row g-3 align-items-center">
<div class="col-auto">
<label for="children" class="col-form-label text-dark">Enfants :</label>
</div>
<div class="col-auto">
2022-05-23 02:51:32 +00:00
<input
type="number" class="form-control"
name="children" id="children"
min="0" max="5"
{% if children is not none %}
value="{{ children }}"
{% else %}
value="0"
{% endif %}
/>
</div>
</div>
2022-05-23 02:51:32 +00:00
2022-05-22 18:16:41 +00:00
<button type="submit" value="RSVP" class="btn btn-lg btn-primary mt-3">RSVP</button>
</form>
2022-05-23 02:51:32 +00:00
{% endblock %}