{% macro create_user_registration(data, errors, title, include_description) -%} {% if "include_description" %} {% endif %}

{{ title }}


{% if 'display_name' in errors %} {{ errors.display_name }} {% endif %}

{% if 'username' in errors %} {{ errors.username }} {% endif %}

{% if 'password' in errors %} {{ errors.password }} {% endif %}

{% if 'password2' in errors %} {{ errors.password2 }} {% endif %}

{% if 'email' in errors %} {{ errors.email }} {% endif %}

{% if 'role' in errors %} {{ errors.role }} {% endif %}

{% if 'comment' in errors %} {{ errors.comment }} {% endif %}
{%- endmacro %}