From 7fff546dbdf0da1855576571d6923ffd0a819884 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Wed, 29 Jun 2022 21:43:08 +0200 Subject: [PATCH] fix --- boatmovers/templates/boatmovers.html | 1 + boatmovers/templates/csvform.html | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/boatmovers/templates/boatmovers.html b/boatmovers/templates/boatmovers.html index b33d4823..0fef3c78 100644 --- a/boatmovers/templates/boatmovers.html +++ b/boatmovers/templates/boatmovers.html @@ -41,6 +41,7 @@ {{ athlete.last_name }} {{ athlete.club }} {{ athlete.gender }} + results {% if user.is_authenticated and user.is_staff %} edit {% endif %} diff --git a/boatmovers/templates/csvform.html b/boatmovers/templates/csvform.html index fe1e592a..483c4a0e 100644 --- a/boatmovers/templates/csvform.html +++ b/boatmovers/templates/csvform.html @@ -2,10 +2,10 @@ {% block main %}

- {{ athlete.first_name }} {{ athlete.last_name }} + {{ race.name }}

-

+ {% csrf_token %} {{ form.as_p }}