{# -*- coding: utf-8 -*- #} {% extends "forms/form.html" %} {% load exfiltry %} {% load exsyntax %} {% block pythoncode %} {% if form_list %} {% endif %} {% endblock %} {% block all %} {% with form_width=960 form_height=1200 show_title_bar=0 title="Templates" %} {{ block.super }} {% endwith %} {% endblock %} {% block list_content_actions %} {% new_row "New template" %} {% endblock %} {% block list_row_header %} Name Url Url paramaters Direct to template {% endblock %} {% block list_row %} {{object.name}} {{object.url|default_if_none:""}} {{object.url_parm|default_if_none:""}} {% if object.direct_to_template %}X{% endif %} {% endblock %} {% block list_row_actions %} {% row_actions %} field_edit/template_code,Code,[|client://mimetypes/x-office-presentation.png],_parent edit delete {% endrow_actions %} {% endblock %} {% block row_edit %} {% form %} "parent", "name", "direct_to_template", "url", "url_parm", "tags_mount" {% endform %} {% endblock %}