diff options
Diffstat (limited to 'templates/todolists/todolist_confirm_delete.html')
-rw-r--r-- | templates/todolists/todolist_confirm_delete.html | 37 |
1 files changed, 17 insertions, 20 deletions
diff --git a/templates/todolists/todolist_confirm_delete.html b/templates/todolists/todolist_confirm_delete.html index c0742d2b..c1e87834 100644 --- a/templates/todolists/todolist_confirm_delete.html +++ b/templates/todolists/todolist_confirm_delete.html @@ -1,25 +1,22 @@ {% extends "base.html" %} -{% block title %}Arch Linux - Delete Todo List{% endblock %} +{% block title %}Arch Linux - Delete Todo List: {{object.name}}{% endblock %} {% block content %} - <div class="greybox"> - <h2 class="title">Confirm Delete</h2> - <p> - Are you sure you want to delete this todo list? - </p> - <div class="box"> - <h3>{{object.name}}</h3> - <p> - {{object.description}} - </p> - </div> - <br /> - <form method="POST"> - <input type="submit" value="Yes" /> - <button type="reset" value="No" - onclick="document.location='/todos/{{object.id}}/';">No</button> - </form> +<div id="dev-todo-delete" class="box"> - - </div> + <h2>Delete Todo List: {{object.name}}</h2> + + <p>You are about to delete the following todo list:</p> + + <blockquote> + <p><strong>{{object.name}}:</strong> {{object.description}}</p> + </blockquote> + + <p>Are you sure?</p> + + <form id="delete-todo-form" method="post" action="."> + <p><input type="submit" value="Delete" /></p> + </form> + +</div> {% endblock %} |