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"
|
<form method="POST" id="reportForm"
|
||||||
action="{{ url_for('public.area_report_problem', token=token) }}"
|
action="{{ url_for('public.area_report_problem', token=token) }}"
|
||||||
enctype="multipart/form-data" novalidate>
|
enctype="multipart/form-data">
|
||||||
{{ form.hidden_tag() }}
|
{{ form.hidden_tag() }}
|
||||||
|
|
||||||
{# Honeypot — hidden from humans; bots that fill it are rejected #}
|
{# Honeypot — hidden from humans; bots that fill it are rejected #}
|
||||||
@@ -141,7 +141,8 @@
|
|||||||
|
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
{{ form.description.label(class="form-label small fw-semibold") }}
|
{{ 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…") }}
|
placeholder="Describe what you noticed…") }}
|
||||||
{% for e in form.description.errors %}
|
{% for e in form.description.errors %}
|
||||||
<div class="text-danger small mt-1">{{ e }}</div>
|
<div class="text-danger small mt-1">{{ e }}</div>
|
||||||
|
|||||||
@@ -125,7 +125,7 @@
|
|||||||
|
|
||||||
<form method="POST" id="reportForm"
|
<form method="POST" id="reportForm"
|
||||||
action="{{ url_for('public.report_problem', token=token) }}"
|
action="{{ url_for('public.report_problem', token=token) }}"
|
||||||
enctype="multipart/form-data" novalidate>
|
enctype="multipart/form-data">
|
||||||
{{ form.hidden_tag() }}
|
{{ form.hidden_tag() }}
|
||||||
|
|
||||||
{# Honeypot — hidden from humans; bots that fill it are rejected #}
|
{# Honeypot — hidden from humans; bots that fill it are rejected #}
|
||||||
@@ -140,7 +140,8 @@
|
|||||||
|
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
{{ form.description.label(class="form-label small fw-semibold") }}
|
{{ 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…") }}
|
placeholder="Describe what you noticed…") }}
|
||||||
{% for e in form.description.errors %}
|
{% for e in form.description.errors %}
|
||||||
<div class="text-danger small mt-1">{{ e }}</div>
|
<div class="text-danger small mt-1">{{ e }}</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user