Skip to content

Commit

Permalink
fix click issue for delete deck
Browse files Browse the repository at this point in the history
  • Loading branch information
gboeker committed Mar 5, 2024
1 parent db7253c commit db54697
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions templates/decks.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@ <h3>{{ deck.title }}</h3>
{% for deck in personalDecks %}
<a href="{{ url_for('displayDeck', username=username, deckTitle=deck.title) }}" style="text-decoration:none" class="deck-link">
<div class="personal-deck" >

<a href="{{ url_for('deleteDeck', username=username, deckTitle=deck.title) }}" class="delete-deck">
<span class="fa-stack fa-4x">
<i class="fa-solid fa-circle fa-stack-2x " style="color:#eae1df"></i>
<i class="fa-regular fa-trash-can fa-stack-1x fa-inverse " style="color:#382c2b"></i>
</span>
</a>
<object>
<a href="{{ url_for('deleteDeck', username=username, deckTitle=deck.title) }}" class="delete-deck">
<span class="fa-stack fa-4x">
<i class="fa-solid fa-circle fa-stack-2x " style="color:#eae1df"></i>
<i class="fa-regular fa-trash-can fa-stack-1x fa-inverse " style="color:#382c2b"></i>
</span>
</a>
</object>
<h3>{{ deck.title }}</h3>


</div>
</a>
{% endfor %}
Expand Down

0 comments on commit db54697

Please sign in to comment.