{% include 'components/collection-style.html' %} {% from 'components/pagination.html' import pagination %} {% from 'components/page-heading.html' import page_heading %} {% from 'components/search.html' import search_form with context %} {{ page_heading(t.notes, t.notes_subtitle) }} {{ search_form(t.search_notes, 8192) }} {% if search_limited %}

{{ t.notes_search_limit }}

{% endif %} {% if errors.get('notes') %}{{ read_error(errors.notes, t.notes) }}{% endif %} {% if not errors.get('notes') or data.notes or selected_note %}
{% if selected_note %}

{{ selected_note.text }}

{% elif data.notes %}

{{ t.not_found }}

{{ t.notes_list }}
{% else %}

{{ t.notes_no_match if search_query else t.notes_empty_body }}

{% endif %}
{% endif %}