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