Jul 21 - Update all issues description field is mandatory, including from QR code page
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user