Files
bike_admin/app/templates/events/partial.html
T
2026-09-09 17:49:01 +01:00

12 lines
467 B
HTML

{# HTMX swap target for POST /bikes/{id}/events (swaps into #bike-body).
Expects: bike, summary, events, old, errors, csrf, event_types. #}
{% include "components/service_card.html" with context %}
<section class="card list-card">
{% include "events/list.html" with context %}
</section>
{% if errors %}
<div id="form-errors" class="alert alert-error" role="alert">
{% for key, val in errors.items() %}<div>{{ val }}</div>{% endfor %}
</div>
{% endif %}