{% extends "community/_base.html" %} {% from "macros/box.html" import m_box_content %} {% from "macros/form.html" import m_field %} {% block content %} {% call m_box_content(_("Start a new conversation")) %} {% set is_manager = g.community.has_permission(current_user, 'manage') %}
{{ form.csrf_token }} {{ m_field(form.title, class_="span8") }} {{ m_field(form.message, class_="resizeable-vertical", rows=10) }} {{ m_field(form.attachments) }} {% if g.community.type == 'participative' or is_manager %} {{ m_field(form.send_by_email) }} {% endif %}
{% endcall %} {% endblock %}