Private
Public Access
1
0

adding simple power form

This commit is contained in:
Sander Roosendaal
2022-12-16 08:18:13 +01:00
parent 47d8dd63d3
commit 57fe6413e6
5 changed files with 80 additions and 1 deletions

View File

@@ -0,0 +1,28 @@
{% extends "newbase.html" %}
{% load static %}
{% load rowerfilters %}
{% block title %}Change Rower Preferences{% endblock %}
{% block main %}
<h1>Functional Threshold Power for {{ rower.user.first_name }} {{ rower.user.last_name }}</h1>
<ul class="main-content">
<li class="grid_2">
<form enctype="multipart/form-data" action="" method="post">
<table>
{{ form.as_table }}
</table>
{% csrf_token %}
<input type="submit" value="Update">
</form>
</li>
</ul>
{% endblock %}
{% block sidebar %}
{% include 'menu_profile.html' %}
{% endblock %}