{% 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 post') }}

{{ form.csrf_token() }}
{% include 'community/_add_post_types.html' %}
{{ render_field(form.communities) }} {{ render_field(form.poll_title) }} {{ render_field(form.poll_body) }} {% if not low_bandwidth %} {% if markdown_editor %} {% else %} {% endif %} {% endif %}
{{ _('Poll choices') }}
{{ form.choice_1(class_="form-control", **{"placeholder": "First choice"}) }}
{{ form.choice_2(class_="form-control", **{"placeholder": "Second choice"}) }}
{{ render_field(form.mode) }} {{ render_field(form.finish_in) }} {{ render_field(form.local_only) }} {{ render_field(form.tags) }} {{ _('Separate each tag with a comma.') }}
{{ render_field(form.notify_author) }}
{{ render_field(form.sticky) }}
{{ render_field(form.nsfw) }}
{{ render_field(form.nsfl) }}
{{ render_field(form.language_id) }}
{{ render_field(form.submit) }}
{% endblock %}