From fc366fbf8d687d46a48a1e691cf7a77dd46969ca Mon Sep 17 00:00:00 2001 From: NguyenND Date: Tue, 21 Jul 2026 11:49:23 -0400 Subject: [PATCH] Jul 21 - Update all issues description field is mandatory, including from QR code page --- app/templates/public/area.html | 5 +++-- app/templates/public/facility.html | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/templates/public/area.html b/app/templates/public/area.html index db00be8..d4c0b4c 100644 --- a/app/templates/public/area.html +++ b/app/templates/public/area.html @@ -126,7 +126,7 @@
+ enctype="multipart/form-data"> {{ form.hidden_tag() }} {# Honeypot — hidden from humans; bots that fill it are rejected #} @@ -141,7 +141,8 @@
{{ form.description.label(class="form-label small fw-semibold") }} - {{ form.description(class="form-control", rows="4", + * + {{ form.description(class="form-control", rows="4", required=True, placeholder="Describe what you noticed…") }} {% for e in form.description.errors %}
{{ e }}
diff --git a/app/templates/public/facility.html b/app/templates/public/facility.html index 9026dc2..a4c19bf 100644 --- a/app/templates/public/facility.html +++ b/app/templates/public/facility.html @@ -125,7 +125,7 @@ + enctype="multipart/form-data"> {{ form.hidden_tag() }} {# Honeypot — hidden from humans; bots that fill it are rejected #} @@ -140,7 +140,8 @@
{{ form.description.label(class="form-label small fw-semibold") }} - {{ form.description(class="form-control", rows="4", + * + {{ form.description(class="form-control", rows="4", required=True, placeholder="Describe what you noticed…") }} {% for e in form.description.errors %}
{{ e }}