Jul 21 - Update all issues description field is mandatory, including from QR code page

This commit is contained in:
2026-07-21 11:49:23 -04:00
parent fe8514d91c
commit fc366fbf8d
2 changed files with 6 additions and 4 deletions
+3 -2
View File
@@ -126,7 +126,7 @@
<form method="POST" id="reportForm"
action="{{ url_for('public.area_report_problem', token=token) }}"
enctype="multipart/form-data" novalidate>
enctype="multipart/form-data">
{{ form.hidden_tag() }}
{# Honeypot — hidden from humans; bots that fill it are rejected #}
@@ -141,7 +141,8 @@
<div class="mb-3">
{{ form.description.label(class="form-label small fw-semibold") }}
{{ form.description(class="form-control", rows="4",
<span class="text-danger">*</span>
{{ form.description(class="form-control", rows="4", required=True,
placeholder="Describe what you noticed…") }}
{% for e in form.description.errors %}
<div class="text-danger small mt-1">{{ e }}</div>