fix
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
<td>{{ athlete.last_name }}</td>
|
||||
<td>{{ athlete.club }}</td>
|
||||
<td>{{ athlete.gender }}</td>
|
||||
<td><a href="/boatmovers/athlete/{{ athlete.id }}/">results</a></td>
|
||||
{% if user.is_authenticated and user.is_staff %}
|
||||
<td><a href="/admin/boatmovers/athlete/{{ athlete.id }}/change/">edit</a></td>
|
||||
{% endif %}
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
{% block main %}
|
||||
<h1>
|
||||
{{ athlete.first_name }} {{ athlete.last_name }}
|
||||
{{ race.name }}
|
||||
</h1>
|
||||
<p>
|
||||
<form method="post" nctype="multipart/form-data">
|
||||
<form method="post" enctype="multipart/form-data">{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<input type="hidden" name="action" value="create" />
|
||||
<input type="submit" value="Submit"/>
|
||||
|
||||
Reference in New Issue
Block a user