{% macro posting(form) %}
{{ form_start(form) }} {{ form_errors(form) }} {% if form.in is defined %} {{ form_row(form.in) }} {% endif %} {{ form_row(form.visibility) }} {{ form_row(form.content_type) }} {{ form_row(form.content) }} {{ form_row(form.attachments) }}
{% trans %}Additional options{% endtrans %}
{{ form_row(form.language) }} {{ form_row(form.tag_use_canonical) }}
{{ form_rest(form) }} {{ form_end(form) }}
{% endmacro %} {% macro posting_section_vanilla(widget) %}
{% trans %}Create a note{% endtrans %} {% import _self as forms %} {{ forms.posting(widget) }}
{% endmacro %} {% macro posting_section_reply(widget, extra) %}
{% trans %}Reply to note{% endtrans %} {% for block in extra %}
{{ block | raw }}
{% endfor %} {% import _self as forms %} {{ forms.posting(widget) }}
{% endmacro %} {% block rightpanel %} {% import _self as this %} {% endblock rightpanel %}