{% extends 'left/left.html.twig' %} {% block meta %} {{ parent() }} {% endblock %} {% block title %}Welcome!{% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block header %} {{ parent() }} {% endblock %} {% block left %} {{ parent() }} {% endblock %} {% block body %}
{% if post_form is defined %} {{ form_start(post_form) }}
{{ form_label(post_form.to) }}
{{ form_widget(post_form.to) }}
{{ form_row(post_form.visibility) }}
{{ form_row(post_form.content) }}
{{ form_widget(post_form.attachments) }}
{{ form_row(post_form.post) }}
{{ form_end(post_form) }} {% endif %}
{% if notes is defined and notes is not empty %} {% for note in notes %} {% set id = note.getId() - 1 %} {% include '/note/view.html.twig' with {'note': note, 'have_user': have_user} only %} {% endfor %} {% else %}

{% trans %}No notes here.{% endtrans %}

{% endif %}
{% endblock body %} {% block javascripts %}{% endblock %}