{% if notes is defined and notes is not empty %}
{% for note in notes %}
{% block current_note %}
{% endif %}
{% endblock current_note %}
{% endfor %}
{% else %}