summaryrefslogtreecommitdiffstats
path: root/core/views/signup.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2025-01-26 14:51:37 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2025-01-26 14:51:37 +0000
commit7fab42fa9e4067fdd99eca81d736d37c50f27291 (patch)
tree4e01c95a19cef38e25378877687f22a15929d86d /core/views/signup.py
parent5a678dcb0e6fbbf65c15a98d4417e206270e3c2f (diff)
downloadtroggle-7fab42fa9e4067fdd99eca81d736d37c50f27291.tar.gz
troggle-7fab42fa9e4067fdd99eca81d736d37c50f27291.tar.bz2
troggle-7fab42fa9e4067fdd99eca81d736d37c50f27291.zip
add insurance info
Diffstat (limited to 'core/views/signup.py')
-rw-r--r--core/views/signup.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/views/signup.py b/core/views/signup.py
index 1c6cccb..4b7e398 100644
--- a/core/views/signup.py
+++ b/core/views/signup.py
@@ -218,10 +218,6 @@ def write_bierbook(signups_clear, editor):
bieryeardir.mkdir(parents=True, exist_ok=True)
write_and_commit( [(bierfile, names, "utf8")], f"(re)writing bierbook names", editor)
-
-
-
-
class ExpoSignupForm(forms.Form):
name = forms.CharField(label='Full name', max_length=100, widget=forms.TextInput(attrs={'tabindex': 1, 'placeholder': 'Anathema Device'}))
@@ -252,6 +248,8 @@ class ExpoSignupForm(forms.Form):
transport_ok = forms.ChoiceField(choices=[('yes', 'Yes, I have arranged transport and it is shown on that page'), ('no', 'No, I need to arrange or confirm transport')],
widget=forms.RadioSelect(attrs={'tabindex': 12}), initial='no')
+ insurance_info = forms.CharField(widget=forms.Textarea(attrs={'rows': 3, 'cols': 80, 'tabindex': 13, "placeholder":"I do not have any insurance and I don't know what I need."}),
+ required=False)
transport_info = forms.CharField(widget=forms.Textarea(attrs={'rows': 3, 'cols': 80, 'tabindex': 13, "placeholder":"I am a numpty and have no clue how I will get there (or back)."}),
required=False)