{% extends "base.html" %}
{% block title %}{{ spec.label }} {{ pk }}{% endblock %}
{% block content %}
{% set hue = groups.index(spec.group) % 6 if spec.group in groups else 0 %}
{{ spec.group }} ยท {{ spec.label }}
Record {{ pk }}
{% if spec.renders("edit") or spec.renders("delete") %}
{% if spec.renders("edit") %}
Edit
{% endif %}
{% if spec.renders("delete") %}
{# Two steps, in the markup rather than in a confirm(): the summary opens
the confirmation, and only the inner button posts. Works with scripting
off, and can be styled like the rest of the admin. #}
Delete