{# -*- coding: utf-8 -*- #} {% extends "form.html" %} {% load exfiltry %} {% load exsyntax %} {% block pythoncode %} {% if form_edit %} {% else %} {% endif %} {% endblock %} {% block all %} {% with form_width=720 form_height=480 show_title_bar=1 title="Choices" %} {{ block.super }} {% endwith %} {% endblock %} {% block list_content_actions %} {% new_row "New item" %} {% endblock %} {% block list_row_header %} Name Value {% endblock %} {% block list_row %} {{object.name|escape}} {{object.value|escape}} {% endblock %} {% block list_row_actions %} {{block.super}} {% if not forloop.first %} {% row_actions %} field_up,Move up,[|client://actions/go-up.png],refresh_page {% endrow_actions %} {% endif %} {% if not forloop.last %} {% row_actions %} field_down,Move down,[|client://actions/go-down.png],refresh_page {% endrow_actions %} {% endif %} {% endblock %} {% block table_header_edit %}

Table field list

{% endblock %}