diff --git a/app.py b/app.py index 6f3e735..15c6210 100644 --- a/app.py +++ b/app.py @@ -88,7 +88,6 @@ def createDeck(username): # TODO: is there a way to not have to refresh the page and add the new deck return redirect(url_for('allDecks', username=username)) -# since shuffled, maybe should be cardQuestion instead of cardIndex? @app.route("////add", methods=["POST"]) def addCard(username, deckTitle, cardIndex): # authenticate user diff --git a/templates/card.html b/templates/card.html index b867925..4158bb1 100644 --- a/templates/card.html +++ b/templates/card.html @@ -7,7 +7,7 @@

{{ deckTitle }}

- +

START

@@ -40,6 +40,7 @@

START

{% endif %} +