Private
Public Access
1
0

redirect to survey

This commit is contained in:
Sander Roosendaal
2020-01-08 22:27:49 +01:00
parent c03f3600b4
commit cfc61e8621
10 changed files with 164 additions and 9 deletions

View File

@@ -31,6 +31,12 @@ formaxlabels = axlabels.copy()
formaxlabels.pop('None')
parchoices = list(sorted(formaxlabels.items(), key = lambda x:x[1]))
class SurveyForm(forms.Form):
surveydone = forms.ChoiceField(
required=True,
choices=(('YES','YES'),('NO','NO')),
label='Will you take a 2 minute survey to help improve rowsandall?',
widget = forms.RadioSelect)
class FlexibleDecimalField(forms.DecimalField):