Populate redraft form

This commit is contained in:
Mouse Reeve
2021-04-03 15:47:47 -07:00
parent 6ed74e6f60
commit ffb7f8f7ce
6 changed files with 46 additions and 37 deletions

View File

@ -8,6 +8,7 @@
<h1>{% trans "Compose status" %}</h1>
</header>
{% with 0|uuid as uuid %}
<div class="box columns">
{% if book %}
<div class="column is-one-third">
@ -18,13 +19,13 @@
</div>
{% endif %}
<div class="column is-two-thirds">
{% if not form %}
{% if not draft %}
{% include 'snippets/create_status.html' %}
{% else %}
{% include 'snippets/create_status_form.html' %}
{% endif %}
</div>
</div>
{{ form.ap_p }}
{% endwith %}
{% endblock %}