{#- Starting a discussion: its subject, the message in rich text, files, and whether to send it by email; beside it, where it goes and who will see it. Started from an event, it is about that event, whose page then leads to it. Drawn in `mockups/templates/new-thread.html`. -#} {% extends "ads_community.html" %} {% import "forum/_post_fields.html" as fields %} {% block page_title %}{{ _("New discussion") }} ยท {{ g.community.name }}{% endblock %} {#- The widgets (the uploader) and the rich-text editor; no stylesheet comes with them. -#} {% block scripts %}{{ vite_asset("src/main.js") }}{{ vite_asset("src/editor.js") }}{% endblock %} {% block content %}
{{ form.csrf_token }} {% if about %}{% endif %}
  1. {{ _("Discussions") }}

{{ _("New discussion") }}

{% if about %}{{ _("About the event") }} {{ about.title }}{% endif %}
{{ _("A sentence that says what it is about: the members read it in their feed and in the email.") }} {{ fields.errors(form.title) }}
{{ fields.message_field(form.message, _("Message"), rows=10) }} {{ fields.attachments_field(form.attachments) }} {{ fields.send_by_email(form) }}
{{ _("Cancel") }} {{ _("You can edit it afterwards.") }}
{% endblock %}