2022-05-22 16:13:14 +00:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
{% block title %}RSVP -{% endblock %}
|
|
|
|
|
|
|
|
{% block navitems %}
|
|
|
|
<li class="nav-item">
|
2022-05-23 02:51:32 +00:00
|
|
|
<a class="nav-link" href="{{ url_for('index') }}">Info</a>
|
2022-05-22 16:13:14 +00:00
|
|
|
</li>
|
|
|
|
|
2022-05-22 17:00:08 +00:00
|
|
|
<li class="nav-item">
|
2022-05-23 03:02:01 +00:00
|
|
|
<a class="nav-link active" href="{{ url_for('form') }}">RSVP <span class="visually-hidden">(actuel)</span></a>
|
2022-05-22 16:13:14 +00:00
|
|
|
</li>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2022-05-23 02:51:32 +00:00
|
|
|
|
|
|
|
{% if error %}
|
|
|
|
<p class="error text-danger">{{ error }}</p>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<form action="{{ url_for('form') }}" method="POST">
|
|
|
|
|
|
|
|
<div class="row g-3 align-items-center">
|
|
|
|
<div class="col-auto">
|
2022-05-23 03:02:01 +00:00
|
|
|
<label for="code" class="col-form-label text-dark">Code sur l'invitation :</label>
|
2022-05-23 02:51:32 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-auto">
|
|
|
|
<input type="text" name="code" id="code" class="form-control" placeholder="ABCD">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<button type="submit" value="RSVP" class="btn btn-primary btn-lg mt-3">RSVP</button>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
2022-05-22 16:13:14 +00:00
|
|
|
{% endblock %}
|