Merge pull request #2831 from alphagov/fix-duplicate-hint-in-list

Fix hint text for list entry being rendered twice
This commit is contained in:
Chris Hill-Scott
2019-03-07 14:07:49 +00:00
committed by GitHub

View File

@@ -24,11 +24,6 @@
{% endif %}
</label>
</legend>
{% if hint %}
<span class="hint">
{{ hint }}
</span>
{% endif %}
<div class="input-list" data-module="list-entry" data-list-item-name="{{ item_name }}" id="list-entry-{{ field.name }}">
{% for index in range(0, field.entries|length) %}
<div class="list-entry">