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

37 lines
985 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">(current)</span></a>
</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 %}