{% extends "subjects/subject_base.html" %} {% load i18n auth utils %} {% block title %}{% trans "Delete subject" %} · {{ block.super }}{% endblock %} {% block content %}
{% if is_last_guardian %}

{% trans "This subject is the last guardian of another subject. Deletion means that this subject's ward becomes unreachable!" %}

{% endif %} {% if has_participations %}

{% trans "This subject cannot be deleted because there still is data about them in studies." %}

{% trans "Please delete all of these study participations:" %}

{% else %} {% csrf_token %}

{% trans "This subject does not have any data in studies that would block deletion." %}

{% trans "Are you sure you want to permanently delete this subject and all related data?" %}

{% endif %}
{% trans 'Cancel' %}
{% endblock %}