Fix examples on choose broadcast library page

It should be `.get_examples()` (a method) not `.examples` (a property)
but Jinja swallows the error and prints nothing.
This commit is contained in:
Chris Hill-Scott
2020-07-08 16:02:16 +01:00
parent 33ab9171e2
commit 11032a1e7a
2 changed files with 27 additions and 3 deletions

View File

@@ -15,7 +15,7 @@
{% for library in libraries|sort %}
<a class="file-list-filename-large govuk-link govuk-link--no-visited-state" href="{{ url_for('.choose_broadcast_area', service_id=current_service.id, library_slug=library.id) }}">{{ library.name }}</a>
<p class="file-list-hint-large">{{ library.examples }}</p>
<p class="file-list-hint-large">{{ library.get_examples() }}</p>
{% endfor %}
{% endblock %}