Skip to content

Commit 86b9010

Browse files
committed
Display question hint if available for input
1 parent 93f3d94 commit 86b9010

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

application/templates/questions/input.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ <h1 class="govuk-heading-xl">{{ form.input.label.text }}</h1>
1111

1212
{% for field in form if field.name != 'csrf_token' %}
1313
<div class="govuk-form-group">
14-
{%- if field.description %}
14+
{% if question.hint %}
1515
<div id="" class="govuk-hint">
16-
{{ field.description }}
16+
{{ question.hint }}
1717
</div>
18-
{% endif -%}
18+
{% endif %}
1919

2020
{{ field(class='govuk-input') }}
2121

0 commit comments

Comments
 (0)