{#- Making a community, which only a site administrator does: its name and what it is for, whether its members take part or mostly read, its tools, and the person who will run it. Beside it, what happens next. Drawn in `mockups/templates/community-new.html`. -#} {% extends "admin/_ads.html" %} {% import "community/_fields.html" as c with context %} {% set posted = request.method == "POST" %} {% block page_title %}{{ _("New community") }} ยท {{ _("Administration") }}{% endblock %} {% block heading %}{{ _("New community") }}{% endblock %} {% block content %}
{{ form.csrf_token }}
{{ c.name(form) }} {{ c.description(form) }} {#- A new community: its members take part, it has discussions and documents. -#} {{ c.members(form, form.type.data if posted else "participative") }} {{ c.tools(form, {"has_forum": form.has_forum.data, "has_documents": form.has_documents.data, "has_wiki": form.has_wiki.data} if posted else {"has_forum": true, "has_documents": true}) }} {{ c.joining(form, form.visibility.data if posted else "secret") }}
{#- No icon beside it: the picker wraps the field in its own box. -#} {{ _("Someone who has an account; they can name other managers. Left empty, it is you.") }}
{{ _("Cancel") }}
{% endblock %}