adding rpe editing
This commit is contained in:
@@ -28,6 +28,7 @@ from rowers.utils import landingpages
|
||||
from rowers.metrics import axes, metricsgroups, rowingmetrics
|
||||
from rowers.metrics import axlabels
|
||||
from rowers.rower_rules import user_is_not_basic
|
||||
from rowers import models
|
||||
|
||||
formaxlabels = axlabels.copy()
|
||||
formaxlabels.pop('None')
|
||||
@@ -401,7 +402,7 @@ class StandardsForm(forms.Form):
|
||||
|
||||
|
||||
class DocumentsForm(forms.Form):
|
||||
rpechoices = Workout.rpechoices
|
||||
rpechoices = models.rpechoices
|
||||
rpechoices = tuple([(-1, '---')]+list(rpechoices))
|
||||
title = forms.CharField(required=False)
|
||||
file = forms.FileField(required=False,
|
||||
|
||||
Reference in New Issue
Block a user