{% extends "admin/admin/list.html" %} {% 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 %}{% if item.on_index %} {% trans %}On Index{% endtrans %}{% endif %} {{ form_theme.field(table_form['pos_' + item.pk|string], attrs={'form': 'table_form', 'class': 'span2'}) }} {% endblock%}