1 Commits

Author SHA1 Message Date
12d7c13b02 feat(security): #286 use csrf token for delete request
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 45s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 50s
2024-12-11 15:49:11 +01:00

View File

@@ -39,14 +39,12 @@ templ WorkoutListComp(workouts []Workout) {
<th></th> <th></th>
</tr> </tr>
</thead> </thead>
<form> <tbody>
<tbody> <tr class="hidden" id="workout-placeholder"></tr>
<tr class="hidden" id="workout-placeholder"></tr> for _,w := range workouts {
for _,w := range workouts { @WorkoutItemComp(w, false)
@WorkoutItemComp(w, false) }
} </tbody>
</tbody>
</form>
</table> </table>
</div> </div>
} }