Fix class names of choose-reply links

The links for templates without ancestors didn't
have a `.template-list-template` class so miss out
on styling given to the other links in the list.
This commit is contained in:
Tom Byers
2020-10-23 13:29:54 +01:00
parent 43d7d0a034
commit 91faa1a874

View File

@@ -51,7 +51,7 @@
<span class="live-search-relevant">{{ item.name }}</span>
</a>
{% else %}
<a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.conversation_reply_with_template', service_id=current_service.id, template_id=item.id, notification_id=notification_id) }}">
<a class="govuk-link govuk-link--no-visited-state template-list-template" href="{{ url_for('.conversation_reply_with_template', service_id=current_service.id, template_id=item.id, notification_id=notification_id) }}">
<span class="live-search-relevant">{{ item.name }}</span>
</a>
{% endif %}