summaryrefslogtreecommitdiffstats
path: root/templates/activities/compose.html
blob: 1a022273aabf0e5a7fe56697534b268abe54c235 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{% extends "base.html" %}

{% block title %}Compose{% endblock %}

{% block content %}
    <form action="." method="POST">
        {% csrf_token %}
        <fieldset>
            <legend>Content</legend>
            {% if reply_to %}
                <label>Replying to</label>
                {% include "activities/_mini_post.html" with post=reply_to %}
            {% 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 %}