{# Define custom layout for creating and modifying a ticket; add supporting css and javascript. #} {% extends theme("layout.html") %} {% import "ticket/ticket_macros.html" as ticket_macros with context %} {% block head %} {{ super() }} {% endblock %} {% set exists = item.fqname and storage.get_item(**item.fqname.query) %} {% block local_panel %} {% if user.valid and exists %}