@ -6,21 +6,26 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.css">
</head>
<body>
<h1>New Trello</h1>
{%if parent%}
<section>
<header>
<h1>{{parent[1]}}</h1>
{{parent[2]}}
</section>
</header>
{%else%}
{%endif%}
<h2>Child Items</h2>
<h2>Items</h2>
<ul>
{%for (id, title, description, created_at, updated_at, parent_id) in cursor%}
<li>
<a href="/{{id}}">{{title}}</a>
<form method="POST" action="/{{id}}?_method=DELETE">
<input type="submit" value="DELETE" />
</form>
</li>
{%endfor%}
</ul>