{% extends "admin/admin/list.html" %} {% load i18n %} {% load l10n %} {% load url from future %} {% import "_forms.html" as form_theme with context %} {% block table_head scoped %} {{ super() }} {% trans %}Order{% endtrans %} {% endblock %} {% block table_row scoped %} {{ item.name }}{% if item.special %} {% trans %}Special{% endtrans %}{% endif %}{% if item.as_tab %} {% trans %}Tab{% endtrans %}{% endif %} {{ form_theme.field_widget(table_form['pos_' + item.pk|string], attrs={'class': 'span2', 'form': 'table_form'}) }} {% endblock%}