Add example Unity Project

This commit is contained in:
Michał Gdula 2023-04-26 01:55:33 +01:00
parent fda7ff28dd
commit e3acdb9d6b
7122 changed files with 505543 additions and 2 deletions

View file

@ -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) }}