2023-04-28 01:09:16 +00:00
|
|
|
{% extends "settings/base.html" %}
|
2022-11-16 13:53:39 +00:00
|
|
|
|
|
|
|
{% block title %}Compose{% endblock %}
|
|
|
|
|
2023-04-28 01:09:16 +00:00
|
|
|
{% block settings_content %}
|
2022-11-16 13:53:39 +00:00
|
|
|
<form action="." method="POST">
|
|
|
|
{% csrf_token %}
|
2022-11-18 00:43:00 +00:00
|
|
|
<fieldset>
|
2023-04-28 01:09:16 +00:00
|
|
|
<legend>Compose</legend>
|
2022-11-24 22:17:32 +00:00
|
|
|
{% if reply_to %}
|
2022-11-25 23:34:45 +00:00
|
|
|
<label>Replying to</label>
|
|
|
|
{% include "activities/_mini_post.html" with post=reply_to %}
|
2022-11-24 22:17:32 +00:00
|
|
|
{% endif %}
|
2023-04-28 01:09:16 +00:00
|
|
|
<p><i>For more advanced posting options, like editing and image uploads, please use an app.</i></p>
|
2022-11-24 22:17:32 +00:00
|
|
|
{{ form.reply_to }}
|
2022-11-27 18:09:46 +00:00
|
|
|
{{ form.id }}
|
2022-11-18 00:43:00 +00:00
|
|
|
{% include "forms/_field.html" with field=form.text %}
|
|
|
|
{% include "forms/_field.html" with field=form.content_warning %}
|
|
|
|
{% include "forms/_field.html" with field=form.visibility %}
|
|
|
|
</fieldset>
|
2022-11-16 13:53:39 +00:00
|
|
|
<div class="buttons">
|
2022-12-11 16:25:48 +00:00
|
|
|
<span id="character-counter">{{ config.post_length }}</span>
|
2023-04-28 01:09:16 +00:00
|
|
|
<button id="post-button">{% if post %}Save Edits{% else %}Post{% endif %}</button>
|
2022-11-16 13:53:39 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|