Order search: Proper input validation with error feedback for advanced search (#4920)

This commit is contained in:
Raphael Michel
2025-03-18 09:01:13 +01:00
committed by GitHub
parent f475781a89
commit 0236911a88
2 changed files with 22 additions and 1 deletions

View File

@@ -7,7 +7,8 @@
{% block title %}{% trans "Order search" %}{% endblock %}
{% block content %}
<h1>{% trans "Order search" %}</h1>
<form class="form-horizontal" action="{% url "control:event.orders" event=request.event.slug organizer=request.event.organizer.slug %}" method="get">
<form class="form-horizontal" method="post">
{% csrf_token %}
{% for f in forms %}
{% bootstrap_form_errors f layout='control' %}
{% for field in f %}