{% extends "sanza/tab_form.html" %} {% load i18n %}{% load url from future %} {% block extra_head %} {{block.super}} {% endblock %} {% block doc_header %}

{% if contact %} {% if not contact.entity.is_single_contact %} {{contact.entity}} {% endif %} {% blocktrans %}Edit contact '{{contact}}'{% endblocktrans %}

{% else %}

{% if is_single_contact %} {% trans "Create single contact" %} {% else %} {% trans "Create contact" %} {% endif %}

{% endif %}

{% if contact %} {% if not entity.is_single_contact %} {{entity.type.name}}: {{entity.name}} {% else %} {% trans "Single contact" %} {% endif %} {% endif %}

{% endblock %} {% block form_buttons %} {% if contact %} {% trans "Cancel" %} {% endif %} {% endblock %} {% block doc_footer %} {% include "sanza/_calendar.html" with field="birth_date" yearRange="c-100:c" %} {% endblock %}