From f6ce5a0e129cf20ed011c0ae66009b372cf8c98e Mon Sep 17 00:00:00 2001 From: Martin Quarda Date: Thu, 10 Oct 2024 00:22:02 +0200 Subject: [PATCH] fix form --- alkatorapi/views.py | 2 +- frontend/src/scripts/index.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/alkatorapi/views.py b/alkatorapi/views.py index c8d8db4..8a33740 100644 --- a/alkatorapi/views.py +++ b/alkatorapi/views.py @@ -74,7 +74,7 @@ def register_racer(request): return HttpResponse('{"reason":"Je potřeba se přihlásit!"}', status=400, content_type='application/json') ALKATOR_CLASS = 3 - if date.today() >= date(2024, 10, 5): + if date.today() >= date(2025, 10, 5): return HttpResponse('{"reason":"Too late!"}', status=400, content_type='application/json') if not request.POST.get('agreement'): return HttpResponse('{"reason":"Je potřeba souhlasit se zpracováním údajů!"}', status=400, content_type='application/json') diff --git a/frontend/src/scripts/index.js b/frontend/src/scripts/index.js index 15fb7d8..cec0e75 100644 --- a/frontend/src/scripts/index.js +++ b/frontend/src/scripts/index.js @@ -224,12 +224,12 @@ class Main extends Component {
this.onSubmit(e)}>
- - + +
- - + +