{% extends "base.html" %} {% from 'bootstrap/form.html' import render_field %} {% block app_content %}
{% include 'admin/_nav.html' %}

{{ _('Edit %(community_name)s', community_name=community.display_name()) }}

{{ form.csrf_token() }} {{ render_field(form.title) }}
{{ 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) }} {% 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) }} {% if not community.is_local() %}
{{ _('Will not be overwritten by remote server') }} {% endif %} {{ render_field(form.show_home) }} {{ render_field(form.show_popular) }} {{ render_field(form.show_all) }} {{ render_field(form.low_quality) }} {{ render_field(form.content_retention) }} {% if not community.is_local() %}
{% endif %} {{ render_field(form.submit) }}
{% endblock %}