home · contact · privacy
Add deck management.
[guiltcards] / views / card_form.tpl
index a2aa551ea223c683ad6cb11424f72f9707e18dcf..c4c64885436ca61db6be939ea5064f53dfc8989e 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE HTML>
 <html>
 <body>
-<form action="{{ web_path }}/cards/{{ card_id }}" method="POST">
+<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 />
 % for answer in answers:
@@ -17,7 +17,7 @@ answer: <input type="text" name="answer" /><br />
 </p>
 % if deletable:
 <p>
-Or would you rather <a href="{{ web_path }}/cards/{{ card_id }}/delete">DELETE</a> this card?
+Or would you rather <a href="{{ web_path }}/decks/{{deck_id}}/cards/{{ card_id }}/delete">DELETE</a> this card?
 </p>
 % end
 </form>