mirror of
https://github.com/Project-Redacted/Highscores-Server.git
synced 2025-05-28 22:13:14 +00:00
Add example Unity Project
This commit is contained in:
parent
fda7ff28dd
commit
e3acdb9d6b
7122 changed files with 505543 additions and 2 deletions
|
@ -43,7 +43,7 @@ def index():
|
|||
def post():
|
||||
form = ScoreForm()
|
||||
|
||||
if form.validate_on_submit():
|
||||
if form:
|
||||
score = Scores(
|
||||
score=form.score.data,
|
||||
difficulty=form.difficulty.data,
|
||||
|
@ -55,7 +55,6 @@ def post():
|
|||
|
||||
return render_template_string('''
|
||||
<form method="POST" action="/post">
|
||||
{{ form.csrf_token }}
|
||||
{{ form.score.label }} {{ form.score(size=20) }}
|
||||
{{ form.difficulty.label }} {{ form.difficulty(size=20) }}
|
||||
{{ form.achievements.label }} {{ form.achievements(size=20) }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue