{% from "django_htmx_ui_adminlte/macros/callouts.html" import callout %}
{% include 'django_htmx_ui_adminlte/welcome/logo.html' %}
{% if success %}

Your account is ready! You can now login.

{% elif invalid %}

This signup voucher is not valid.

{% else %}
{{ form.email }}
{{ form.email.errors }}
{{ form.password1 }}
{{ form.password1.errors }}
{{ form.password2 }}
{{ form.password2.errors }}
{% if form.non_field_errors() %} {% call callout(type='danger', class="is-invalid text-danger py-1") %} {{ form.non_field_errors() }} {% endcall %} {% endif %}
{% endif %}