{% 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 %} {% include "community/_community_moderation_nav.html" %} {% endif %}

{% if community %} {{ _('Edit %(community)s', community=community.display_name()) }} {% else %} {{ _('Create community') }} {% endif %}

{{ _('Edit and configure this community') }}

{{ 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 %} {% if community.icon_id %}

{{ _('View image') }} {{ _('Delete image') }}

{% endif %} {{ render_field(form.banner_file) }} Provide a wide image - letterbox orientation. {% if community.image_id %}

{{ _('View image') }} {{ _('Delete image') }}

{% endif %} {{ 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.downvote_accept_mode) }} {{ render_field(form.topic) }} {{ render_field(form.languages) }} {{ render_field(form.default_layout) }}
{{ render_field(form.submit) }}
{% if community.is_local() and (community.is_owner() or current_user.is_admin()) %}

Delete community

{% endif %}
{% endblock %}