12345678910111213141516 |
- {% extends "admin/admin/list.html" %}
- {% import "forms.html" as form_theme with context %}
- {% block table_head scoped %}
- {{ super() }}
- <th>{% trans %}Order{% endtrans %}</th>
- {% endblock %}
- {% block table_row scoped %}
- <td class="lead-cell">
- <strong>{{ _(item.name) }}</strong>{% if item.special %} <span class="label label-info">{% trans %}Special{% endtrans %}</span>{% endif %}{% if item.as_tab %} <span class="label label-inverse">{% trans %}Tab{% endtrans %}</span>{% endif %}{% if item.on_index %} <span class="label label-orange">{% trans %}On Index{% endtrans %}</span>{% endif %}
- </td>
- <td class="span2">
- {{ form_theme.field(table_form['pos_' + item.pk|string], attrs={'form': 'table_form', 'class': 'span2'}) }}
- </td>
- {% endblock%}
|