{% extends "base.html" %} {% load i18n %} {% load modeltags %} {% load htmltags %} {% load filetags %} {% block context_menu %}
{% trans "Edit" %}
{% trans "Delete" %}
{% endblock %} {% block content %}
{{ contract.customer|default:'' }}
{% with contract as object %}{% with "update_date" as name %} {% include "detail_field.html" %} {% endwith %}{% endwith %} {% with contract as object %}{% with "contract_file" as name %}
{% if object.contract_file %} {{ object.contract_file.name|basename|default:'' }}{% endif %}
{% endwith %}{% endwith %}
{% trans "download pdf file" %}
{% with contract as object %}{% with "content" as name %}
{{ object|value:name|to_html }}
{% endwith %}{% endwith %}
{% endblock %}