{% extends "balafon/tab_form.html" %} {% load i18n %} {% block doc_header %} {% if opportunity %}

{% trans "Edit opportunity" %}

{% if opportunity.ended %} {% trans "This opportunity has be closed on" %} {{opportunity.end_date}} {% endif %} {% else %}

{% trans "Create opportunity" %}

{% endif %} {% endblock %} {% block form_url %}{% if opportunity.id %}{% url "crm_edit_opportunity" opportunity.id %}{% else %}{% url "crm_add_opportunity" %}{% endif %}{% endblock %} {% block popup_buttons %}
{% trans "Cancel" %}
{% endblock %}