{% extends "events/base.html" %} {% load event_tags %} {% load styled_forms %} {% load profile_tags %} {% load base_filters %} {% block title %}{{ block.super }} {% blocktrans with title=event.title %}{{ title }} Cancel Registration{% endblocktrans %}{% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content %}

{% trans "Cancel Event Registration" %}

{% blocktrans with title=event.title %}{{ title }}{% endblocktrans %}
{% blocktrans with registrants|length as reglength %}Cancelling {{ reglength }} registration(s){% endblocktrans %}
{% if cancelled_registrants %}
{% blocktrans with cancelled_registrants|length as cancel_length %}{{ cancel_length }} registration(s) already cancelled{% endblocktrans %}
{% endif %}

{% trans "Cancelling" %}

{% for registrant in registrants %}
{% gravatar registrant.user 56 %}
{% if registrant.first_name or registrant.last_name %} {% if registrant.first_name %} {{ registrant.first_name }} {% endif %} {% if registrant.last_name %} {{ registrant.last_name }} {% endif %} {% else %} {% blocktrans with forloop.counter0 as forl %}Guest #{{ forl }}{% endblocktrans %} {% endif %}
{% trans "Amount: " %} {{ registrant.amount|format_currency }}
{% endfor %}
{% if cancelled_registrants %}

{% trans "Already Cancelled" %}

{% for registrant in cancelled_registrants %}
{% gravatar registrant.user 56 %}
{% if registrant.first_name or registrant.last_name %} {% if registrant.first_name %} {{ registrant.first_name }} {% endif %} {% if registrant.last_name %} {{ registrant.last_name }} {% endif %} {% else %} {% blocktrans %} Guest #{% endblocktrans %}{{ forloop.counter0 }} {% endif %}
{% trans "Amount:" %} {{ registrant.amount|format_currency }}
{% endfor %}
{% endif %}
{% if hash %}
{% csrf_token %} {% else %} {% csrf_token %} {% endif %}
{% endblock %}