2022-05-22 16:13:14 +00:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
{% block title %}RSVP -{% endblock %}
|
|
|
|
|
|
|
|
{% block navitems %}
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="{{url_for('index')}}">Info</a>
|
|
|
|
</li>
|
|
|
|
|
2022-05-22 17:00:08 +00:00
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link active" href="{{url_for('form')}}">RSVP <span class="visually-hidden">(current)</span></a>
|
2022-05-22 16:13:14 +00:00
|
|
|
</li>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
{% if error %}
|
|
|
|
<p class="error">{{ error }}</p>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<form action="{{ url_for('form') }}" method="POST">
|
|
|
|
|
|
|
|
<div class="row g-3 align-items-center">
|
|
|
|
<div class="col-auto">
|
|
|
|
<label for="code" class="col-form-label">Code sur l'invitation:</label>
|
|
|
|
</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">RSVP</button>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
{% endblock %}
|