Merge tag 'v8.53' into develop
bug fix
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
{{ form.as_table }}
|
{{ form.as_table }}
|
||||||
</table>
|
</table>
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<input class="button green" type="submit" value="Save">
|
<input type="submit" value="Update Heart Rate Zones">
|
||||||
</form>
|
</form>
|
||||||
</li>
|
</li>
|
||||||
<li class="grid_2">
|
<li class="grid_2">
|
||||||
@@ -75,11 +75,12 @@
|
|||||||
</table>
|
</table>
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<div class="grid_2 prefix_2 suffix_2">
|
<div class="grid_2 prefix_2 suffix_2">
|
||||||
<input class="button green" type="submit" value="Save">
|
<input type="submit" value="Update Power Zones">
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</li>
|
</li>
|
||||||
<li class="grid_2">
|
<li class="grid_2">
|
||||||
|
<form enctype="multipart/form-data" action="" method="post">
|
||||||
<h2>Functional Threshold Power and OTW Slack</h2>
|
<h2>Functional Threshold Power and OTW Slack</h2>
|
||||||
<p>Use this form to quickly change your zones based on the power of a
|
<p>Use this form to quickly change your zones based on the power of a
|
||||||
recent
|
recent
|
||||||
@@ -89,13 +90,12 @@
|
|||||||
rowing power
|
rowing power
|
||||||
vs the erg power. Typical values are around 15%. This will lower
|
vs the erg power. Typical values are around 15%. This will lower
|
||||||
the power zones for your OTW workouts.</p>
|
the power zones for your OTW workouts.</p>
|
||||||
<form enctype="multipart/form-data" action="" method="post">
|
<table>
|
||||||
<table>
|
|
||||||
{{ powerform.as_table }}
|
{{ powerform.as_table }}
|
||||||
</table>
|
</table>
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<input class="button green" type="submit" value="Save">
|
<input type="submit" value="Update">
|
||||||
</form>
|
</form>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|||||||
@@ -12725,6 +12725,7 @@ def rower_edit_view(request,rowerid=0,userid=0,message=""):
|
|||||||
|
|
||||||
return response
|
return response
|
||||||
elif request.method == 'POST' and "ftp" in request.POST:
|
elif request.method == 'POST' and "ftp" in request.POST:
|
||||||
|
print request.POST
|
||||||
powerform = RowerPowerForm(request.POST)
|
powerform = RowerPowerForm(request.POST)
|
||||||
if powerform.is_valid():
|
if powerform.is_valid():
|
||||||
cd = powerform.cleaned_data
|
cd = powerform.cleaned_data
|
||||||
|
|||||||
Reference in New Issue
Block a user