mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-22 23:30:59 +00:00
22 lines
783 B
HTML
22 lines
783 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Compose{% endblock %}
|
|
|
|
{% block content %}
|
|
<form action="." method="POST">
|
|
{% csrf_token %}
|
|
<fieldset>
|
|
<legend>Content</legend>
|
|
{% if reply_to %}
|
|
<p>Replying to <a href="{{ reply_to.urls.view }}">{{ reply_to }}</a></p>
|
|
{% endif %}
|
|
{{ form.reply_to }}
|
|
{% 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>
|
|
<div class="buttons">
|
|
<button>{% if config_identity.toot_mode %}Toot!{% else %}Post{% endif %}</button>
|
|
</div>
|
|
</form>
|
|
{% endblock %}
|