hiddenfields
This commit is contained in:
@@ -151,8 +151,8 @@ class InstantPlanSelectForm(forms.Form):
|
||||
# Instroke Metrics interactive chart form
|
||||
class InstrokeForm(forms.Form):
|
||||
metric = forms.ChoiceField(label='metric',choices=(('a','a'),('b','b')))
|
||||
spm_min = forms.IntegerField(initial=15,label='SPM Min')
|
||||
spm_max = forms.IntegerField(initial=45,label='SPM Max')
|
||||
spm_min = forms.IntegerField(initial=15,label='SPM Min',widget=HiddenInput)
|
||||
spm_max = forms.IntegerField(initial=45,label='SPM Max',widget=HiddenInput)
|
||||
|
||||
def __init__(self, *args, **kwargs): # pragma: no cover
|
||||
choices = kwargs.pop('choices', [])
|
||||
|
||||
Reference in New Issue
Block a user