{% extends "balafon/tab_form.html" %} {% load i18n %} {% block extra_head %} {{block.super}} {% include "balafon/_calendar.html" with field="relationship_date" yearRange="c-100:c" %} {% endblock %} {% block title %}{% if entity %}{% trans "Edit entity" %}{% else %}{% trans "Create entity" %}{% endif %}{% endblock %} {% block form_url %}{% if entity.id %}{% url "crm_edit_entity" entity.id %}{% else %}{% url "crm_create_entity" entity_type_id %}{% endif %}{% endblock %} {% block doc_header %} {% if entity.id %}