adding time team import
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
{% block main %}
|
||||
<h1>
|
||||
{{ race.name }}
|
||||
{{ race.name }}
|
||||
</h1>
|
||||
<p>
|
||||
<form method="post" enctype="multipart/form-data">{% csrf_token %}
|
||||
|
||||
@@ -58,6 +58,9 @@
|
||||
<p>
|
||||
<a href="/boatmovers/race/{{ race.id }}/csv/">Add Result CSV</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="/boatmovers/race/{{ race.id }}/timeteam/">Add Result from Time Team</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
14
boatmovers/templates/timeteamform.html
Normal file
14
boatmovers/templates/timeteamform.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{% extends "boatmovers_base.html" %}
|
||||
|
||||
{% block main %}
|
||||
<h1>
|
||||
{{ race.name }}
|
||||
</h1>
|
||||
<p>
|
||||
<form method="post">{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<input type="hidden" name="action" value="create" />
|
||||
<input type="submit" value="Submit"/>
|
||||
</form>
|
||||
</p>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user