{% load qr_code %} {% load base_tags %}
{% if display == "front" %}
{{ registrant.registration.event.title }}
{{ registrant.first_name }} {{ registrant.last_name }}
{{ registrant.company_name }}
{{ registrant.pricing.title }}
{% qr_from_text registrant.check_in_url size="s" %}
{% trans "Registrant ID:" %} {{ registrant.pk }}
{% if registrant.user and registrant.user.profile and registrant.user.profile.account_id %} {% trans "Account ID:" %} {{ registrant.user.profile.account_id }}
{% endif %}
{% else %}
{% for child in registrant.child_events %}
{{ child.child_event.start_dt|date:"D" }} {{ child.child_event.start_dt|time:"g:i A"}}
{{ child.child_event.place.name }} 
{% if child.child_event.short_name %} {{ child.child_event.short_name }} {% else %} {{ child.child_event.title }} {% endif %}
{% endfor %}
{% endif %}