2018-05-22 14:57:45 +02:00
|
|
|
{% load widget_tweaks %}
|
2018-06-12 14:35:23 +02:00
|
|
|
<form method="post" id="post-form" action="{% url "toot" %}" enctype="multipart/form-data">
|
2018-05-22 14:57:45 +02:00
|
|
|
{% csrf_token %}
|
|
|
|
|
2018-08-02 17:13:50 +02:00
|
|
|
<div>
|
|
|
|
{{ form.non_field_errors }}
|
|
|
|
<br>
|
|
|
|
</div>
|
|
|
|
|
2018-08-17 14:21:45 +02:00
|
|
|
<div class="field">
|
|
|
|
<label class="label"> {{ form.spoiler_text.label }}</label>
|
|
|
|
<div class="control">
|
|
|
|
{% render_field form.spoiler_text class+="input mousetrap" placeholder="Optional" %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2018-05-22 14:57:45 +02:00
|
|
|
<div class="field" >
|
|
|
|
<label class="label" >{{ form.status.label }}</label>
|
|
|
|
<div class="control">
|
2018-08-17 14:21:45 +02:00
|
|
|
{% render_field form.status class+="textarea is-primary mousetrap" rows="3" %}
|
2018-05-22 14:57:45 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="field has-addons">
|
2018-07-18 19:33:16 +02:00
|
|
|
<div class="control level is-mobile">
|
|
|
|
<img class="image avatar is-48x48 level-item" src="{{ own_acct.avatar_static }}" alt="">
|
|
|
|
<input type="submit" class="button is-primary level-item"
|
2018-05-22 14:57:45 +02:00
|
|
|
name="toot" value="Toot">
|
2018-08-10 04:13:45 +02:00
|
|
|
<a href="{% url "emoji" %}" target="_blank" rel="noopener noreferrer"
|
|
|
|
class="level-item emoji-link" title="custom emoji reference">😊</a>
|
2018-05-22 14:57:45 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="field">
|
|
|
|
<a href="{% url "toot" %}">
|
2018-08-17 14:21:45 +02:00
|
|
|
Complete toot form (media, visibility etc)
|
2018-05-22 14:57:45 +02:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</form>
|