{% load i18n %} {% load utilities %} {% load status_display %} {% comment %} ----- Variables book: the Edition object this status is related to. Required unless the status is a reply draft: the content of an existing Status object to be edited (used in delete and redraft) uuid: a unique identifier used to make html "id" attributes unique and clarify javascript controls type: used for uniquely identifying the html elements when mutliple types of posts are available for a book, and usually the endpoint name that the form posts to reply_parent: the Status object this post will be in reply to, if applicable {% endcomment %} {% block form_open %} {# default form tag syntax, can be overriddden #}
{% endblock %} {% csrf_token %} {% block initial_fields %} {% if draft %} {% endif %} {% endblock %} {# fields that go between the content warnings and the content field (ie, quote) #} {% block pre_content_additions %}{% endblock %}
{% include "snippets/create_status/content_field.html" with placeholder=placeholder %}
{# additional fields that go after the content block (ie, progress) #} {% block post_content_additions %}{% endblock %} {% include "snippets/create_status/content_warning_field.html" %} {% block options_block %} {# cw, post privacy, and submit button #} {% include "snippets/create_status/post_options_block.html" %} {% endblock %} {% block form_close %}
{% endblock %}