Added habit POST request and translated errors to german

This commit is contained in:
Verox001 2024-01-19 10:29:27 +01:00
parent 2e1a2bc399
commit 0922309531

3
app.py
View File

@ -42,7 +42,8 @@ def index():
'index.html', 'index.html',
title='Hallo ' + current_user.name, title='Hallo ' + current_user.name,
utc_dt=datetime.datetime.now().strftime("%d.%m.%Y %H:%M %A"), utc_dt=datetime.datetime.now().strftime("%d.%m.%Y %H:%M %A"),
habits=habits habits=habits,
errors={},
) )