various design improvements

This commit is contained in:
2019-01-02 17:24:02 +01:00
parent 3bf1d1f0eb
commit b8ffa5f4cc
5 changed files with 17 additions and 6 deletions

View File

@@ -46,8 +46,7 @@ def store_name(gameid, player):
def name_show(gameid, player):
other_players = dict(games[str(gameid)])
other_players.pop(player,None)
pprint(other_players)
return render_template("name_show.html", current_player=player, other_players=other_players)
return render_template("name_show.html", current_player=player, other_players=other_players, edit_url=url_for("name_edit", gameid=gameid, player=player))
@app.errorhandler(KeyError)
def not_found(error):