{# tickets/form.html — open a ticket or edit one (tickets.service): its title, area, description, hosts and what it is about, and what it links to. A new ticket opened from an alert or anomaly arrives filled in and linked. #} {% extends "base.html" %} {% from "_macros.html" import crumbs, page_header %} {% set title = ("Edit #" ~ ticket.id) if ticket else "Open a ticket" %} {% block title %}{{ title }} — Tickets — Steward{% endblock %} {% block breadcrumb %}{{ crumbs([("Tickets", "/tickets/")] + ([("#" ~ ticket.id, "/tickets/" ~ ticket.id)] if ticket else []) + [(title if not ticket else "Edit", "")]) }}{% endblock %} {% block content %} {{ page_header(title, "A known problem, open until someone resolves it.") }} {% if error %}