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

37 lines
931 B
HTML
Raw Normal View History

{% 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>
</li>
<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>
</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>
{% endblock %}