You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
635 B

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.css">
</head>
<body>
<ul>
{%for (id, title, description, created_at, updated_at, parent_id) in cursor%}
<li>
<a href="/{{id}}">{{title}}: {{description}}</a>
<form method="POST" action="/{{id}}?_method=DELETE">
<input type="submit" value="DELETE" />
</form>
</li>
{%endfor%}
</ul>
<form action="/" method="POST">
<input name="title" type="text">
<textarea name="description"></textarea>
<input type="submit"/>
</form>
</body>
</html>