home · contact · privacy
Use b64 for card IDs.
[guiltcards] / views / cards.tpl
index dbf5ea63c06ea1caf1be7f93a2341de110d3ccba..758fe22b70e9ade34a39f5f4c700a9aa800d557d 100644 (file)
@@ -2,12 +2,12 @@
 <html>
 <body>
 <ul>
-% for card_id in card_ids:
-<li><a href="{{ web_path }}/cards/{{card_id}}/view">{{card_id}}</a> (<a href="{{ web_path }}/cards/{{card_id}}/form">edit</a>)</li>
+% for card_id in cards:
+<li><a href="{{ web_path }}/cards/{{card_id}}/view">{{cards[card_id]}}</a> (<a href="{{ web_path }}/cards/{{card_id}}/form">edit</a>)</li>
 % end
 </ul>
 <form action="{{ web_path }}/cards/" method="GET">
-add another? name: <input type="text" name="card_id" />
+add another? name: <input type="text" name="card_name" />
 </form>
 </body>
 </html>