list.html 527 B

1234567891011121314151617
  1. {% extends "admin/admin/list.html" %}
  2. {% import "forms.html" as form_theme with context %}
  3. {% block table_head scoped %}
  4. {{ super() }}
  5. <th>{% trans %}Warning Level{% endtrans %}</th>
  6. {% endblock %}
  7. {% block table_row scoped %}
  8. <td>
  9. <strong>{{ item.name }}</strong>
  10. {% if item.description %}<div class="muted">{{ item.description }}</div>{% endif %}
  11. </td>
  12. <td class="span2">
  13. {{ form_theme.field(table_form['pos_' + item.pk|string], attrs={'form': 'table_form', 'class': 'span2'}) }}
  14. </td>
  15. {% endblock%}