{% if selected_note %}
{% else %}{% endif %}
{{ selected_note.text }}
{% elif data.notes %}{{ t.not_found }}
{{ t.notes_list }}{{ t.notes_no_match if search_query else t.notes_empty_body }}
{{ 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 %}{{ selected_note.text }}
{% elif data.notes %}{{ t.notes_no_match if search_query else t.notes_empty_body }}