diff --git a/app/templates/inspections/flag_issue.html b/app/templates/inspections/flag_issue.html
index 3f2fabf..3f253d1 100644
--- a/app/templates/inspections/flag_issue.html
+++ b/app/templates/inspections/flag_issue.html
@@ -21,7 +21,10 @@
{{ form.description.label(class="form-label fw-semibold") }}
- {{ form.description(class="form-control", rows=4, placeholder="Describe the issue in detail…") }}
+
*
+ {{ form.description(class="form-control", rows=4, required=True,
+ placeholder="Describe the issue in detail…") }}
+ {% for e in form.description.errors %}
{{ e }}
{% endfor %}
{{ form.photo.label(class="form-label fw-semibold") }}
diff --git a/app/templates/issues/form.html b/app/templates/issues/form.html
index 56c54a7..e89356e 100644
--- a/app/templates/issues/form.html
+++ b/app/templates/issues/form.html
@@ -30,13 +30,25 @@
{# Remaining fields — assigned_to hidden from customer role #}
- {% for field in [form.severity, form.description, form.photo] %}
- {{ field.label(class="form-label fw-semibold") }}
- {{ field(class="form-select" if field.type == 'SelectField' else "form-control", rows=4 if field.type == 'TextAreaField' else none) }}
- {% for e in field.errors %}
{{ e }}
{% endfor %}
+ {{ form.severity.label(class="form-label fw-semibold") }}
+ {{ form.severity(class="form-select") }}
+ {% for e in form.severity.errors %}
{{ e }}
{% endfor %}
+
+
+
+ {{ form.description.label(class="form-label fw-semibold") }}
+
*
+ {{ form.description(class="form-control", rows=4, required=True,
+ placeholder="Describe the issue in detail…") }}
+ {% for e in form.description.errors %}
{{ e }}
{% endfor %}
+
+
+
+ {{ form.photo.label(class="form-label fw-semibold") }}
+ {{ form.photo(class="form-control") }}
+ {% for e in form.photo.errors %}
{{ e }}
{% endfor %}
- {% endfor %}
{% if current_user.role != 'customer' %}
{{ form.handler_type.label(class="form-label fw-semibold") }}