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-05-22 14:57:45 +02:00
|
|
|
<div class="field" >
|
|
|
|
<label class="label" >{{ form.status.label }}</label>
|
|
|
|
<div class="control">
|
2018-06-12 14:35:23 +02:00
|
|
|
{% render_field form.status class+="textarea is-primary mousetrap" rows="4" %}
|
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">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="field">
|
|
|
|
<a href="{% url "toot" %}">
|
|
|
|
Complete toot form (media, etc)
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</form>
|