{% extends "wedding/blocks/base.html" %} {% load static %} {% block title %} RSVP {% endblock %} {% block content %}

RSVP

{% if rsvp.active %} {{ rsvp.meal_description }}. Special arrangements made for those who note the requirement below. Please use the "special request" box to indicate anything dietary we should know about not covered by the checkboxes. There's also a comment box at the bottom that can be used for sending a personal message to {{ gride.first_name }} and {{ broom.first_name }}. Please submit your response by {{ rsvp.cutoff|date:"F j, Y" }}. Thanks! {% else %} Thank you for submitting your response! The RSVP portion of the site is now closed. Your choices are shown below. We appreciate your understanding that all responses which were left as "unknown" will be treated as "no" as we need to submit final numbers to the venues. To make any changes, please contact {{ gride.first_name }} and {{ broom.first_name }} directly. {% endif %}

{% if updated %}
Thank you! RSVP Successfully Updated at {% now "h:i A \o\n F jS, Y" %}
{% endif %} {% if new_account %}
Thank you for creating an account! Please update your RSVP below
{% endif %} {% if not formset %}
Your account doesn't seem to have an RSVP. Please contact the site admin
{% endif %} {% for form in formset %} {% if form.errors %} {% for field in form %} {% for error in field.errors %}
Item {{ field.label_tag }} {{ error|escape }}
{% endfor %} {% endfor %} {% for error in form.non_field_errors %}
{{ error|escape }}
{% endfor %} {% endif %} {% endfor %}
{{ formset.management_form }} {% csrf_token %}

Attendees

{% if rsvp.active %} Please mark below the attendance and dietary choices for all attendees.
For information about the events please reference the Weekend Events Schedule {% endif %}

{% for form in formset %} {{ form.id }}
{% if rsvp.fields.name %} {% endif %} {% if rsvp.fields.is_attending_rehearsal %} {% endif %} {% if rsvp.fields.is_attending_wedding %} {% endif %} {% if rsvp.fields.is_child %} {% endif %} {% if rsvp.fields.name %} {% endif %} {% if rsvp.fields.is_attending_rehearsal %} {% endif %} {% if rsvp.fields.is_attending_wedding %} {% endif %} {% if rsvp.fields.is_child %} {% endif %}
{{ rsvp.fields.name }}{{ rsvp.fields.is_attending_rehearsal }}{{ rsvp.fields.is_attending_wedding }}{{ rsvp.fields.is_child }}
{{ form.name }} {{ form.is_attending_rehearsal }} {{ form.is_attending_wedding }} {{ form.is_child }}
{% if rsvp.fields.dietary_vegetarian %} {% endif %} {% if rsvp.fields.dietary_vegan %} {% endif %} {% if rsvp.fields.dietary_gluten_free %} {% endif %} {% if rsvp.fields.dietary_kosher %} {% endif %} {% if rsvp.fields.special_requests %} {% endif %} {% if rsvp.fields.dietary_vegetarian %} {% endif %} {% if rsvp.fields.dietary_vegan %} {% endif %} {% if rsvp.fields.dietary_gluten_free %} {% endif %} {% if rsvp.fields.dietary_kosher %} {% endif %} {% if rsvp.fields.special_requests %} {% endif %}
{{ rsvp.fields.dietary_vegetarian }}{{ rsvp.fields.dietary_vegan }}{{ rsvp.fields.dietary_gluten_free }}{{ rsvp.fields.dietary_kosher }}{{ rsvp.fields.special_requests }}
{{ form.dietary_vegetarian }} {{ form.dietary_vegan }} {{ form.dietary_gluten_free }} {{ form.dietary_kosher }} {{ form.special_requests }}
{% endfor %}

Comment

{% if rsvp.active %}

{{ rsvp.comments_prompt }}

{% else %}
{% endif %} {{ rsvp_form.comment }}

{% if formset %} {% if rsvp.active %} {% endif %} {% endif %}
{% endblock %}