{% 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 %}

{% if community %} {{ _('Edit community') }} {% else %} {{ _('Create community') }} {% endif %}

{{ form.csrf_token() }} {{ render_field(form.title) }} {{ render_field(form.description) }} {% if community.icon_id %} {% endif %} {{ render_field(form.icon_file) }} Provide a square image that looks good when small. {% if community.image_id %} {% endif %} {{ render_field(form.banner_file) }} Provide a wide image - letterbox orientation. {{ render_field(form.rules) }} {{ render_field(form.nsfw) }} {{ render_field(form.restricted_to_mods) }} {{ render_field(form.local_only) }} {{ render_field(form.new_mods_wanted) }} {{ render_field(form.topic) }} {{ render_field(form.default_layout) }}
{{ render_field(form.submit) }}
{% endblock %}