<html>
<body>
<form action="{{ web_path }}/decks/{{deck_id}}/cards/{{ card_id }}" method="POST">
-title: <input type="text" name="title" value="{{ title }}" /><br />
-prompt: <input type="text" name="prompt" value="{{ prompt }}" /><br />
+<input type="hidden" name="type" value="{{ card_type }}" /><br />
+% if card_type == 'guilt':
% for answer in answers:
answer: <input type="text" name="answer" value="{{ answer }}" /><br />
% end
-answer: <input type="text" name="answer" /><br />
-answer: <input type="text" name="answer" /><br />
-answer: <input type="text" name="answer" /><br />
+answer: <input type="text" name="answer" value="" /><br />
+answer: <input type="text" name="answer" value="" /><br />
+answer: <input type="text" name="answer" value="" /><br />
+answer: <input type="text" name="answer" value="" /><br />
+% end
+% if card_type == 'action':
+title: <input type="text" name="title" value="{{ title }}" /><br />
+% for paragraph in paragraphs:
+paragraph: <input type="text" name="paragraph" value="{{ paragraph }}" /><br />
+% end
+paragraph: <input type="text" name="paragraph" value="" /><br />
+paragraph: <input type="text" name="paragraph" value="" /><br />
+paragraph: <input type="text" name="paragraph" value="" /><br />
+paragraph: <input type="text" name="paragraph" value="" /><br />
+% end
<input type="submit" value="OK" />
</form>
<p>
-(leave specific answer fields empty to remove them as answer options)
+(leave specific fields empty to have them not appear on the card)
</p>
% if deletable:
<p>