home · contact · privacy
a2aa551ea223c683ad6cb11424f72f9707e18dcf
[guiltcards] / views / card_form.tpl
1 <!DOCTYPE HTML>
2 <html>
3 <body>
4 <form action="{{ web_path }}/cards/{{ card_id }}" method="POST">
5 title: <input type="text" name="title" value="{{ title }}" /><br />
6 prompt: <input type="text" name="prompt" value="{{ prompt }}" /><br />
7 % for answer in answers:
8 answer: <input type="text" name="answer" value="{{ answer }}" /><br />
9 % end
10 answer: <input type="text" name="answer" /><br />
11 answer: <input type="text" name="answer" /><br />
12 answer: <input type="text" name="answer" /><br />
13 <input type="submit" value="OK" />
14 </form>
15 <p>
16 (leave specific answer fields empty to remove them as answer options)
17 </p>
18 % if deletable:
19 <p>
20 Or would you rather <a href="{{ web_path }}/cards/{{ card_id }}/delete">DELETE</a> this card?
21 </p>
22 % end
23 </form>
24 </body>
25 </html>