home · contact · privacy
More refactor, and include previously forgotten decks.tpl.
[guiltcards] / views / decks.tpl
diff --git a/views/decks.tpl b/views/decks.tpl
new file mode 100644 (file)
index 0000000..9cbae2c
--- /dev/null
@@ -0,0 +1,12 @@
+% include('_meta_head.tpl')
+<body>
+<ul>
+% for deck_id in decks:
+<li><a href="{{ web_path }}/decks/{{deck_id}}">{{decks[deck_id]}}</a></li>
+% end
+</ul>
+<form action="{{ web_path }}/decks/" method="GET">
+add another deck? name: <input type="text" name="deck_name" />
+</form>
+</body>
+% include('_meta_foot.tpl')