{{ form_label(post_form.to) }}
{{ form_widget(post_form.to) }}
{{ form_row(post_form.visibility) }}
{{ 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 %}