home · contact · privacy
Add deck management.
[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 card? name: <input type="text" name="card_name" />
12 </form>
13 <p>
14 <a href="{{ web_path }}/decks">back to decks overview</a>
15 </p>
16 </body>
17 </html>