2022-11-16 13:53:39 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}Compose{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<form action="." method="POST">
|
|
|
|
{% csrf_token %}
|
2022-11-18 00:43:00 +00:00
|
|
|
<fieldset>
|
|
|
|
<legend>Content</legend>
|
2022-11-24 22:17:32 +00:00
|
|
|
{% if reply_to %}
|
|
|
|
<p>Replying to <a href="{{ reply_to.urls.view }}">{{ reply_to }}</a></p>
|
|
|
|
{% endif %}
|
|
|
|
{{ form.reply_to }}
|
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-11-17 00:23:46 +00:00
|
|
|
<button>{% if config_identity.toot_mode %}Toot!{% else %}Post{% endif %}</button>
|
2022-11-16 13:53:39 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|