home · contact · privacy
More refactor, and include previously forgotten decks.tpl.
[guiltcards] / views / delete_card.tpl
index 45b644998dcc2400109d4dea5532e5c8a0ce354a..2d7537557ed3f45df45bc996ebfd89744f6708a7 100644 (file)
@@ -1,9 +1,8 @@
-<!DOCTYPE HTML>
-<html>
+% include('_meta_head.tpl')
 <body>
-<form action="{{ web_path }}/cards/{{ card_id }}/delete" method="POST">
-<input type="submit" value="delete {{card_id}}?" />
+<form action="{{ web_path }}/decks/{{ deck_id }}/cards/{{ card_id }}/delete" method="POST">
+<input type="submit" value="delete {{card_name}}?" />
 </form>
-<a href="{{ web_path }}/cards">Nah, better not …</a>
+<a href="{{ web_path }}/decks/{{ deck_id }}/cards">Nah, better not …</a>
 </body>
-</html>
+% include('_meta_foot.tpl')