first version analyses collection
This commit is contained in:
@@ -150,6 +150,7 @@ class InstantPlanSelectForm(forms.Form):
|
||||
|
||||
# Instroke Metrics interactive chart form
|
||||
class InstrokeForm(forms.Form):
|
||||
name = forms.CharField(initial="", max_length=200,required=False)
|
||||
metric = forms.ChoiceField(label='metric',choices=(('a','a'),('b','b')))
|
||||
individual_curves = forms.BooleanField(label='individual curves',initial=False,
|
||||
required=False)
|
||||
@@ -159,6 +160,9 @@ class InstrokeForm(forms.Form):
|
||||
required=False, initial=0, widget=forms.HiddenInput())
|
||||
activeminutesmax = forms.IntegerField(
|
||||
required=False, initial=0, widget=forms.HiddenInput())
|
||||
notes = forms.CharField(required=False,
|
||||
max_length=200, label='Notes',
|
||||
widget=forms.Textarea)
|
||||
|
||||
def __init__(self, *args, **kwargs): # pragma: no cover
|
||||
choices = kwargs.pop('choices', [])
|
||||
|
||||
Reference in New Issue
Block a user