home · contact · privacy
More refactor, and include previously forgotten decks.tpl.
[guiltcards] / views / cards.tpl
index 2c20cb05a96ea912bb3738a677aa7a9f0bbf8989..49d7617bcc6b4cd4da4b9c52cbd5e3560569c485 100644 (file)
@@ -1,5 +1,4 @@
-<!DOCTYPE HTML>
-<html>
+% include('_meta_head.tpl')
 <body>
 <h1>deck: {{deck_name}}</h1>
 <ul>
@@ -8,10 +7,13 @@
 % end
 </ul>
 <form action="{{ web_path }}/decks/{{deck_id}}/cards/" method="GET">
-add another card? name: <input type="text" name="card_name" />
+add another guilt card? name: <input type="text" name="card_name" /> type: <select name="card_type"><option value="guilt">guilt card</option><option value="action">action card</option></select>
 </form>
 <p>
+<a href="{{ web_path }}/decks/{{deck_id}}/printable">deck print view</a>
+</p>
+<p>
 <a href="{{ web_path }}/decks">back to decks overview</a>
 </p>
 </body>
-</html>
+% include('_meta_foot.tpl')