Classes

Handles the add-zone-template form: validates name and description, then creates the template.

Handles the add-record form of a zone template and marks the template as modified on success.

Handles the delete-zone-template confirmation page and deletes the template on confirmed POST.

Handles the delete confirmation for a zone template record and marks the template modified after deletion.

Renders the zone template edit page and handles detail, record, save-as and linked-zone updates.

Handles the edit form for one zone template record and saves the change on POST.

Renders the list of zones linked to one zone template.

Renders the zone templates list at /zones/templates.

Handles the save-zone-as-template form: creates a zone template from the zone's records.

Handles the POST that marks a zone template as the default or clears the default flag.

Handles unlinking selected zones from a zone template, with a confirmation step.