mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 06:18:25 -04:00
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:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user