Add cw to posts

This commit is contained in:
Jason McBrayer 2018-04-30 17:59:30 -04:00
parent d6fe609b29
commit 882b9db5cc
1 changed files with 14 additions and 5 deletions

View File

@ -7,6 +7,13 @@
{% endif %}
{% csrf_token %}
<div class="field">
<label class="label"> {{ form.spoiler_text.label }}</label>
<div class="control">
{% render_field form.spoiler_text class+="input" placeholder="Optional" %}
</div>
</div>
<div class="field" >
<label class="label" >{{ form.status.label }}</label>
<div class="control">
@ -16,7 +23,7 @@
<div class="field">
<label class="label" > {{ form.visibility.label }}</label>
<div class="control">
<div class="control has-icons-left">
<div class="select">
{% render_field form.visibility class+="select"%}
<span class="icon is-small is-left" >
@ -25,8 +32,10 @@
</div>
</div>
</div>
<input type="submit" class="button is-primary"
name="toot" value="Toot">
<div class="field">
<div class="control">
<input type="submit" class="button is-primary"
name="toot" value="Toot">
</div>
</div>
</form>