Browse Source

Strategická: Oprava popisku tlačítka

master
Jiří Kalvoda 2 years ago
parent
commit
15e1e861ad
  1. 2
      server/hra/web/pages.py

2
server/hra/web/pages.py

@ -284,7 +284,7 @@ def web_org_game_userchange(game_id, team_id):
with b.ul():
for t in teams_by_user[u.id]:
b.li(f"{t.team_id} -> {t.name}")
b.line().td().input(_class="btn btn-danger" if u.id == team_to_edit.user_id else "btn btn-primary", _id="set_participation_state", name=f"set_user_{u.id}", type="submit", value="Nastavit stav účasti")
b.line().td().input(_class="btn btn-danger" if u.id == team_to_edit.user_id else "btn btn-primary", _id="set_participation_state", name=f"set_user_{u.id}", type="submit", value="Přiřadit účtu")
b(jinja_mac.form_field(form.set_no_user))
return b.print_file()

Loading…
Cancel
Save