mirror of
https://github.com/jfmcbrayer/brutaldon
synced 2024-12-23 05:43:41 +01:00
de3a42648c
To keep things balanced, make main text box smaller. This is to encourage the routine use of CWs as subject lines.
39 lines
1.3 KiB
HTML
39 lines
1.3 KiB
HTML
{% load widget_tweaks %}
|
|
<form method="post" id="post-form" action="{% url "toot" %}" enctype="multipart/form-data">
|
|
{% csrf_token %}
|
|
|
|
<div>
|
|
{{ form.non_field_errors }}
|
|
<br>
|
|
</div>
|
|
|
|
<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>
|
|
|
|
<div class="field" >
|
|
<label class="label" >{{ form.status.label }}</label>
|
|
<div class="control">
|
|
{% render_field form.status class+="textarea is-primary mousetrap" rows="3" %}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="field has-addons">
|
|
<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"
|
|
name="toot" value="Toot">
|
|
<a href="{% url "emoji" %}" target="_blank" rel="noopener noreferrer"
|
|
class="level-item emoji-link" title="custom emoji reference">😊</a>
|
|
</div>
|
|
</div>
|
|
<div class="field">
|
|
<a href="{% url "toot" %}">
|
|
Complete toot form (media, visibility etc)
|
|
</a>
|
|
</div>
|
|
</form>
|