{% macro render_field_with_errors(field) %} {% set is_collapsible = kwargs['is_collapsible'] if 'is_collapsible' in kwargs else False %} {% if is_collapsible %}
{% endif %} {% endmacro %} {% macro render_field(field) %}{{ field(class="btn btn-primary", **kwargs)|safe }}
{% endmacro %} {% macro render_field_errors(field) %}{% if field and field.errors %}
{{ location.street }}
{{ location.postalCode }} {{ location.city }}
{{ _('The event takes place online.') }}
{% elif event.attendance_mode and event.attendance_mode.value == 3 %}{{ _('The event takes place both offline and online.') }}
{% endif %} {% endif %}{% endmacro %} {% macro render_pagination(pagination) %} {% if pagination['prev_url'] or pagination['next_url'] %} {% endif %} {% endmacro %} {% macro render_roles(roles) %} {% if roles %} {% for role in roles %}{{ _(role.title) }}{%if not loop.last %}, {% endif %}{% endfor %} {% endif %} {% endmacro %} {% macro render_email_button(url, title) %}
|