Skip to content

Commit 383fe63

Browse files
add error messages in template for additional info
1 parent a867c88 commit 383fe63

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

feedback/templates/report_issue.html

+5
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ <h1 class="govuk-label-wrapper">
6363
<div id="more-detail-hint" class="govuk-hint">
6464
{% translate 'Please provide as much information as possible about the issue.' %}
6565
</div>
66+
{% for error in form.additional_info.errors %}
67+
<p id="passport-issued-error" class="govuk-error-message">
68+
<span class="govuk-visually-hidden">Error:</span> {{error}}
69+
</p>
70+
{% endfor %}
6671
{{ form.additional_info }}
6772
</div>
6873

0 commit comments

Comments
 (0)