Add task deletion

This commit is contained in:
Rowan Manning
2013-09-24 20:58:47 +01:00
parent 5a3b4c09c6
commit 23ffae54fa
6 changed files with 56 additions and 1 deletions

12
view/task/delete.html Normal file
View File

@@ -0,0 +1,12 @@
{{#content "title"}}
Delete Task: {{task.url}} ({{task.standard}})
{{/content}}
<h1>Delete Task: {{task.url}} ({{task.standard}})</h1>
<form action="/{{task.id}}/delete" method="post">
<p>Are you sure you wish to delete this task and associated results?</p>
<input type="submit" value="Yes"/>
<a href="/{{task.id}}">No (cancel)</a>
</form>