{% extends "sanza/tab_form.html" %} {% load i18n %}{% load url from future %} {% 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_buttons %}
{% if opportunity %} {% trans "Delete" %} {% trans "Cancel" %} {% else %} {% trans "Cancel" %} {% endif %}
{% endblock %}