diff options
-rw-r--r-- | core/views/signup.py | 6 | ||||
-rw-r--r-- | templates/login/signup.html | 6 |
2 files changed, 8 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) diff --git a/templates/login/signup.html b/templates/login/signup.html index b2efd5e..68b681d 100644 --- a/templates/login/signup.html +++ b/templates/login/signup.html @@ -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> |