{% 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) }}
{{ "Additional options" | trans }}
{{ form_row(form.language) }} {{ form_row(form.tag_use_canonical) }}
{{ form_rest(form) }} {{ form_end(form) }}
{% endmacro %} {% macro posting_section_vanilla(widget) %}
{{ "Create a note" | trans }} {% import _self as forms %} {{ forms.posting(widget) }}
{% endmacro %} {% macro posting_section_reply(widget, extra) %}
{{ "Reply to note" | trans }} {% for block in extra %}
{{ block | raw }}
{% endfor %} {% import _self as forms %} {{ forms.posting(widget) }}
{% endmacro %} {% block rightpanel %} {% import _self as this %} {% endblock rightpanel %}