{{ form(post_form) }}
{% endif %}
{% if notes is defined and notes is not empty %}
{% for note in notes %}
{% endfor %}
{% else %}
{{ note.getContent() }}
{% set id = note.getId() - 1 %}
{% for attachment in attachments[id] %}
{{ attachment.getTitle() }}
{% endfor %}