{% extends "sanza/tab_form.html" %} {% load i18n %} {% block extra_head %} {{block.super}} {% include "sanza/_calendar.html" with field="date" yearRange="c:c+2" %} {% endblock %} {% block doc_header %} {% if action %}

{% trans "Edit action" %}

{% else %}

{% trans "Create action" %}

{% endif %} {% if action.done %}

{% trans "This action has be done on" %} {{action.done_date}}

{% endif %} {% endblock %} {% block title %}{% if action %}{% trans "Edit action" %}{% else %}{% trans "Create action" %}{% endif %}{% endblock %} {% block form_url %}{% if action %}{% url "crm_edit_action" action.id %}{% else %}{% url "crm_create_action" entity_id contact_id %}{% endif %}{% endblock %} {% block popup_buttons %} {% if action %} {% trans "Delete" %} {% endif %} {% trans "Cancel" %} {% endblock %} {% block doc_footer %} {% endblock %}