{% extends "base.html" %} {% import "_contract_rows.html" as cr %} {% block main %}

{% if mine %}My contracts{% elif lawyer_name %}Contracts of {{ lawyer_name }}{% else %}Contracts{% endif %}

+ New contract

General contracts and the artists' contracts, each with its versions, which never change, and its paper copies with the place where they lie.{% if lawyer_name or mine %} All lawyers{% elif me %} My contracts{% endif %}

{% for t in tabs %}{{ t[1] }}{% endfor %}
{% if rows %}{% endif %} {% if all %}Only those under way{% else %}Also those that are over{% endif %}
{% if rows %} {{ cr.table(rows) }} {% else %}

No contracts here

Add one with + New contract, or from a client's page.{% if not all %} Contracts that are over show with Also those that are over.{% endif %}

{% endif %} {% endblock %}