4 <form action="{{ web_path }}/decks/{{deck_id}}/cards/{{ card_id }}" method="POST">
5 <input type="hidden" name="type" value="{{ card_type }}" /><br />
6 % if card_type == 'guilt':
7 % for answer in answers:
8 answer: <input type="text" name="answer" value="{{ answer }}" /><br />
10 answer: <input type="text" name="answer" value="" /><br />
11 answer: <input type="text" name="answer" value="" /><br />
12 answer: <input type="text" name="answer" value="" /><br />
13 answer: <input type="text" name="answer" value="" /><br />
15 % if card_type == 'action':
16 title: <input type="text" name="title" value="{{ title }}" /><br />
17 % for paragraph in paragraphs:
18 paragraph: <input type="text" name="paragraph" value="{{ paragraph }}" /><br />
20 paragraph: <input type="text" name="paragraph" value="" /><br />
21 paragraph: <input type="text" name="paragraph" value="" /><br />
22 paragraph: <input type="text" name="paragraph" value="" /><br />
23 paragraph: <input type="text" name="paragraph" value="" /><br />
25 <input type="submit" value="OK" />
28 (leave specific fields empty to have them not appear on the card)
32 Or would you rather <a href="{{ web_path }}/decks/{{deck_id}}/cards/{{ card_id }}/delete">DELETE</a> this card?