{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') %} {% extends 'themes/' + theme() + '/base.html' %} {% else %} {% extends "base.html" %} {% endif %} %} {% from 'bootstrap/form.html' import render_field %} {% block app_content %}
{{ _('Create community') }}
{{ form.csrf_token() }} {{ render_field(form.community_name) }}
{{ form.url.label(class_="form-control-label required") }} /c/{{ form.url(class_="form-control", maxlength=255) }} {% for error in form.url.errors %} [{{ error }}] {% endfor %}
{{ render_field(form.description) }} {{ render_field(form.icon_file) }} {{ _('Provide a square image that looks good when small. SVG is allowed.') }} {{ render_field(form.banner_file) }} {{ _('Provide a wide image - letterbox orientation.') }} {{ render_field(form.rules) }} {{ render_field(form.nsfw) }} {{ render_field(form.local_only) }} {{ _('Only people using %(name)s can post or reply', name=current_app.config['SERVER_NAME']) }}. {{ render_field(form.languages) }} {{ render_field(form.submit) }}
{% endblock %}