{% load i18n %}{% comment %} The form page's form, and what an htmx request for it is answered with: a file of its own rather than a ``partialdef``, so it renders on every Django this package supports. ``as_div`` rather than ``{{ form }}``, which is a table below Django 5.0. The form renders each field's own ``required``, which a partial page's form has switched off; a question's message is the form's non-field error and its asked field is in the form, so each is rendered once. The URL to return to, where the view reads one, is posted again as a hidden input, since a refused post may have carried it in its body alone. {% endcomment %}{% include "django_spec_html/target.html" %} {% if unavailable %}
{{ unavailable.reason }}
{% endif %} {% if spec.partial %}{% translate "A field left blank is left as it is." %}
{% endif %}