Fixed bug related to new Vote struct, id and submit date can be None

(useful for posting new votes, ie without id and submit date)
This commit is contained in:
2024-10-05 15:09:51 +02:00
parent 98dbcd11f1
commit 8a7c321044
3 changed files with 53 additions and 79 deletions

View File

@@ -11,7 +11,6 @@
<link rel="stylesheet" href="static/css/index.css">
</head>
<body>
<a href="/login" class="login" id="login">Se connecter</a>
<div id="app" class="app">
<h1 id="app_title">Vote +</h1>
<label for="player_id">Pour qui votes tu?</label>
@@ -37,5 +36,6 @@
<a href="/results">Résultats</a>
<a href="/archives">Archives</a>
</div>
<a href="/login" class="login" id="login">Se connecter</a>
</body>
</html>