diff --git a/app/templates/game_owner_dashboard.html b/app/templates/game_owner_dashboard.html index 87c3a34..4de0403 100644 --- a/app/templates/game_owner_dashboard.html +++ b/app/templates/game_owner_dashboard.html @@ -9,9 +9,7 @@ {% block app_content %}

{{ game.name }} Dashboard

- - - + {% if game.unreviewed_bunny_photos() %} @@ -118,5 +116,12 @@ addPlayerMarker(map, players[i]) } + //Delete Game button + function deleteGame() { + if (confirm("Are you sure you want to delete this game?")) { + window.location.href = "{{ url_for('main.delete_game', game_name=game.name) }}" + } + } + {% endblock %} \ No newline at end of file