{% extends "apis_entities/entity_create_generic.html" %} {% load guardian_tags %} {% block Titel %}Create an Institution{% endblock %} {% block additional_accordion %}
{% load crispy_forms_tags %} {% crispy form_merge_with form_merge_with.helper %}

{% endblock %} {% block scripts %} {{ block.super }} {% if instance %} {% get_obj_perms request.user for instance as "instance_perms" %} {% if "change_institution" in instance_perms %} {% else %} {% endif %} {% endif %} {% endblock %} {% block editbuttons %} {% if instance %} {% get_obj_perms request.user for instance as "instance_perms" %} {% if "delete_institution" in instance_perms %} Delete {% endif %} {% if "change_institution" in instance_perms %} {% endif %} {% else %} {% if perms.apis_entities.add_institution %} {% endif %} {% endif %} {% if instance %} {% endif %} {% endblock editbuttons %}