{% extends "resources/base.html" %} {% import "site_shell/_macros.html" as ui %} {% block title %}Create Reservation - Pychestrate Resources{% endblock %} {% block content %}
{#- The resource-list filter is its own GET form, outside the reservation form: applying it puts only the pool and type in the URL, never the CSRF token or the typed reservation (audit finding RES-32). The reservation form posts back to the filtered URL, so a failed submit keeps the narrowed list. #}
Narrow the resource list

Narrow the list before filling in the reservation: applying the filter starts a fresh form.

{{ ui.error_summary(errors, error_labels) }} {% if resource_total > resources | length %}
Showing the first {{ resources | length }} of {{ resource_total }} resources — narrow the list by pool or type above to reach the rest.
{% endif %}
{{ ui.field_error(errors, 'resource_id') }}
{{ ui.field_error(errors, 'start_time') }}
{{ ui.field_error(errors, 'end_time') }} {% include "resources/reservations/_viewer_zone.html" %}
Back to reservations
{% endblock %}