2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-01-20 03:42:53 +00:00

add insurance info

This commit is contained in:
2025-01-26 14:51:37 +00:00
parent 5a678dcb0e
commit 7fab42fa9e
2 changed files with 8 additions and 4 deletions

View File

@@ -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)

View File

@@ -110,6 +110,12 @@ Loser Expo {{year}} SIGN-UP Form
</table>
<table border="0">
<h3>Insurance</h3>
<p>Please read the <a target="_blank" href="/handbook/paperwork.html">necessary expo paperwork</a> page (will open in a new window).</p>
<p>Please write your current insurance situation in the box below. </p>
<p>{{ form.insurance_info }}</p>
<h3>Transport</h3>
<p>Please look now at the <a target="_blank" href="/years/{{year}}/travel.html">transport arrangements page</a> (will open in a new window). Then select one of the following:</p>