|
|
|
|
@ -42,15 +42,17 @@
|
|
|
|
|
{% endif %}
|
|
|
|
|
</section>
|
|
|
|
|
<section>
|
|
|
|
|
<h2>Add Item</h2>
|
|
|
|
|
<form action="/" method="POST">
|
|
|
|
|
<input name="title" type="text">
|
|
|
|
|
<textarea name="description"></textarea>
|
|
|
|
|
{%if item%}
|
|
|
|
|
<input type="hidden" name="parent_id" value="{{item[0]}}"/>
|
|
|
|
|
{%endif%}
|
|
|
|
|
<input type="submit"/>
|
|
|
|
|
</form>
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Add Item</summary>
|
|
|
|
|
<form action="/" method="POST">
|
|
|
|
|
<input name="title" type="text">
|
|
|
|
|
<textarea name="description"></textarea>
|
|
|
|
|
{%if item%}
|
|
|
|
|
<input type="hidden" name="parent_id" value="{{item[0]}}"/>
|
|
|
|
|
{%endif%}
|
|
|
|
|
<input type="submit"/>
|
|
|
|
|
</form>
|
|
|
|
|
</details>
|
|
|
|
|
</section>
|
|
|
|
|
<section>
|
|
|
|
|
<nav>
|
|
|
|
|
|