diff --git a/castellum/contacts/templates/contacts/contact_form.html b/castellum/contacts/templates/contacts/contact_form.html index bf47abf0625df22ad8d7d8cfbb1f9c59c33b4502..aefefcb9294e637b0f2e5234d753313f941573ac 100644 --- a/castellum/contacts/templates/contacts/contact_form.html +++ b/castellum/contacts/templates/contacts/contact_form.html @@ -1,5 +1,5 @@ {% extends view.base_template|default:"subjects/base.html" %} -{% load static i18n bootstrap4 %} +{% load static i18n auth bootstrap4 %} {% block title %} {% if object %} @@ -47,7 +47,10 @@ {% include 'contacts/__guardian_item.html' with name=form.guardians_add.name pk=subject.pk label=subject label=subject.contact.full_name removed=False %} {% endfor %} - + {% has_perm 'subjects.view_subject' user as can_view_subject %} + {% if can_view_subject %} + + {% endif %}