{{ form_row(post_form.scope) }}
{{ form_row(post_form.content) }}
{% 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 %}