{% extends "asuzr/totals_table.html" %} {% load django_tables2 %} {% load i18n %} {% block table.tbody %} {% for row in table.page.object_list|default:table.rows %} {# support pagination #} {% block table.tbody.row %} {# avoid cycle for Django 1.2-1.6 compatibility #} {% for column, cell in row.items %} {% if column.localize == None %}{{ cell }}{% else %}{% if column.localize %}{{ cell|localize }}{% else %}{{ cell|unlocalize }}{% endif %}{% endif %} {% endfor %} {% endblock table.tbody.row %} {% empty %} {% if table.empty_text %} {% block table.tbody.empty_text %} {{ table.empty_text }} {% endblock table.tbody.empty_text %} {% endif %} {% endfor %} {% if model_form %}
{% csrf_token %} {{model_form.product}} {{model_form.price}} {{model_form.paid}} {{model_form.address}} {{model_form.deadline}} {{model_form.delivery}} {{model_form.lifting}}
{% endif %} {% endblock table.tbody %}