{% extends "sanza/tab_form.html" %} {% load i18n %}{% load url from future %} {% block doc_header %} {% if entity.id %}

{% blocktrans %}Edit '{{entity}}'{% endblocktrans %}

{% else %}

{% if entity.type.is_male %} {% trans "NewMale" %} {{entity.type}} {% else %} {% trans "NewFemale" %} {{entity.type}} {% endif %}

{% endif %} {% endblock %} {% block form_buttons %} {% if entity.id %} {% trans "Cancel" %} {% else %} {% trans "Cancel" %} {% endif %} {% endblock %} {% block doc_footer %} {% include "sanza/_calendar.html" with field="relationship_date" %} {% endblock %}