25 lines
789 B
HTML
25 lines
789 B
HTML
{% extends 'base.html' %}
|
|
{% block content %}
|
|
<section class="card form-card">
|
|
<h1>{{ t('rsvp') }}</h1>
|
|
<form method="post" class="form-grid">
|
|
<label class="radio-row">
|
|
<input type="radio" name="attending" value="yes" {% if guest and guest['attending'] == 1 %}checked{% endif %} />
|
|
{{ t('attending') }}
|
|
</label>
|
|
|
|
<label class="radio-row">
|
|
<input type="radio" name="attending" value="no" {% if guest and guest['attending'] == 0 %}checked{% endif %} />
|
|
{{ t('not_attending') }}
|
|
</label>
|
|
|
|
<label>
|
|
<input type="checkbox" name="plus_one" {% if guest and guest['plus_one'] == 1 %}checked{% endif %} />
|
|
{{ t('plus_one') }}
|
|
</label>
|
|
|
|
<button class="btn" type="submit">{{ t('save') }}</button>
|
|
</form>
|
|
</section>
|
|
{% endblock %}
|