2023-05-03 21:42:37 -07:00
|
|
|
{% extends "settings/base.html" %}
|
2022-11-16 05:53:39 -08:00
|
|
|
|
|
|
|
{% block title %}Compose{% endblock %}
|
|
|
|
|
2023-05-03 21:42:37 -07:00
|
|
|
{% block settings_content %}
|
|
|
|
<form action="." method="POST" enctype="multipart/form-data">
|
2022-11-16 05:53:39 -08:00
|
|
|
{% csrf_token %}
|
2022-11-17 16:43:00 -08:00
|
|
|
<fieldset>
|
2023-05-03 21:42:37 -07:00
|
|
|
<legend>Compose</legend>
|
|
|
|
<p><i>For more advanced posting options, like editing and multiple image uploads, please use an app.</i></p>
|
2022-11-27 10:09:46 -08:00
|
|
|
{{ form.id }}
|
2022-11-17 16:43:00 -08:00
|
|
|
{% include "forms/_field.html" with field=form.text %}
|
|
|
|
{% include "forms/_field.html" with field=form.visibility %}
|
2023-05-03 21:42:37 -07:00
|
|
|
{% include "forms/_field.html" with field=form.content_warning %}
|
2022-11-17 16:43:00 -08:00
|
|
|
</fieldset>
|
2022-12-01 17:46:49 -08:00
|
|
|
<fieldset>
|
2023-05-03 21:42:37 -07:00
|
|
|
<legend>Image</legend>
|
|
|
|
{% include "forms/_field.html" with field=form.image %}
|
|
|
|
{% include "forms/_field.html" with field=form.image_caption %}
|
2022-12-01 17:46:49 -08:00
|
|
|
</fieldset>
|
2022-11-16 05:53:39 -08:00
|
|
|
<div class="buttons">
|
2022-12-11 08:25:48 -08:00
|
|
|
<span id="character-counter">{{ config.post_length }}</span>
|
2023-05-03 21:42:37 -07:00
|
|
|
<button id="post-button">{% if post %}Save Edits{% else %}Post{% endif %}</button>
|
2022-11-16 05:53:39 -08:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|