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

37 lines
931 B
HTML

{% extends "layout.html" %}
{% block title %}RSVP -{% endblock %}
{% block navitems %}
<li class="nav-item">
<a class="nav-link" href="{{ url_for('index') }}">Info</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="{{ url_for('form') }}">RSVP <span class="visually-hidden">(actuel)</span></a>
</li>
{% endblock %}
{% block content %}
{% 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">
<label for="code" class="col-form-label text-dark">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 btn-lg mt-3">RSVP</button>
</form>
{% endblock %}