{% extends "wei/base.html" %} {% comment %} SPDX-License-Identifier: GPL-3.0-or-later {% endcomment %} {% load i18n %} {% load crispy_forms_tags %} {% block profile_content %}

{% trans "Delete registration" %}

{% if object.is_validated %}
{% blocktrans %}This registration is already validated and can't be deleted.{% endblocktrans %}
{% else %}
{% with user=object.user wei_name=object.wei.name %} {% blocktrans %}Are you sure you want to delete the registration of {{ user }} for the WEI {{ wei_name }}? This action can't be undone.{% endblocktrans %} {% endwith %}
{% endif %}
{% endblock %}