home · contact · privacy
d63aab12f533ab6bda138108024443d4abd92487
[guiltcards] / views / cards.tpl
1 <!DOCTYPE HTML>
2 <html>
3 <body>
4 <h1>deck: {{deck_name}}</h1>
5 <ul>
6 % for card_id in cards:
7 <li><a href="{{ web_path }}/decks/{{deck_id}}/cards/{{card_id}}/view">{{cards[card_id]}}</a> (<a href="{{ web_path }}/decks/{{deck_id}}/cards/{{card_id}}/form">edit</a>)</li>
8 % end
9 </ul>
10 <form action="{{ web_path }}/decks/{{deck_id}}/cards/" method="GET">
11 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>
12 </form>
13 <p>
14 <a href="{{ web_path }}/decks/{{deck_id}}/printable">deck print view</a>
15 </p>
16 <p>
17 <a href="{{ web_path }}/decks">back to decks overview</a>
18 </p>
19 </body>
20 </html>