{# ABOUTME: Full-page shell for the collection create/edit form. #} {# ABOUTME: Title switches on `mode`; wraps the shared _collection_form.html partial. #} {% extends "base.html" %} {% block title %}{% if mode == "edit" %}Edit collection{% else %}New collection{% endif %} - Bookery{% endblock %} {% block content %}