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

{{ form.title }}

{% else %}

{{ form.title }}

{% endif %} {% if action.done %}
{% trans "This action has be done on" %} {{action.done_date}}
{% endif %} {% endblock %} {% block title %}{{ form.title }}{% endblock %} {% block form_url %}{% if action %}{% url "crm_edit_action" action.id %}{% else %}{% url "crm_create_action_of_type" entity_id contact_id type_id %}{% endif %}{% endblock %} {% block popup_buttons %} {% if action %} {% trans "Delete" %} {% endif %} {% trans "Cancel" %} {% endblock %} {% block doc_footer %} {% endblock %}