{% extends "base.html" %} {% load i18n static bootstrap4 auth %} {% block title %}{% trans "Guardians" %} · {{ block.super }}{% endblock %} {% block content %}

{% trans 'Total number of subjects' %}: {{ count_total }}

{% include 'utils/form_errors.html' with form=form %} {% csrf_token %} {% bootstrap_field form.search %}
{% if form.is_valid %} {% has_perm 'contacts.add_contact' user as can_add_contact %}
{% if can_add_contact %}
{% for error in privacy_level_form.non_field_errors %} {% endfor %} {% for error in contact_form.non_field_errors %} {% endfor %} {% csrf_token %} {% include 'contacts/__contact_form_top.html' with form=contact_form %} {% bootstrap_field privacy_level_form.privacy_level %} {% include 'contacts/__contact_form_self.html' with form=contact_form %} {{ form.search.as_hidden }}
{% endif %}
{% endif %} {% endblock %} {% block extra_scripts %} {% endblock %}