{% set personal_data = registration.personal_data %} {% set today = now_utc() %}
{{ custom_fields.text | format_placeholders( person=person, event='{}'.format(event.title | escape), date_range=date_range, start_date=start_date, end_date=end_date, venue='{}'.format((custom_fields.venue or event.venue_name) | escape) ) | safe }}
{% if custom_fields.place %} {{ custom_fields.place }}, {{ today | format_date('long') }} {% else %} {{ today | format_date('full') }} {% endif %}
{% macro render_signature(i) %} {% set name = custom_fields['signature_name_' ~ i] %} {% set position = custom_fields['signature_position_' ~ i] %} {% set url = custom_fields['signature_url_' ~ i] %} {% if name or position or url %}