Private
Public Access
1
0
Files
rowsandall/rowers/templates/strokedata_form_v2.html
Sander Roosendaal 7fd1b2ba42 API v2 (version 1)
2020-07-25 12:26:30 +02:00

24 lines
522 B
HTML

{% extends "newbase.html" %}
{% block main %}
{% if form.errors %}
<p style="color: red;">
Please correct the error{{ form.errors|pluralize }} below.
</p>
{% endif %}
<h1>Stroke Data for workout</h1>
<form enctype="application/json" action="/rowers/api/v2/workouts/{{ id }}/strokedata/" method="post">
<table>
{{ form.as_table }}
</table>
{% csrf_token %}
<input class="button green" type="submit" value="POST">
</form>
{% endblock %}
{% block sidebar %}
{% include 'menu_workout.html' %}
{% endblock %}