diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2025-01-15 21:07:16 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2025-01-15 21:07:16 +0000 |
commit | f4fe681524ec672de843463b1c7d66a06a9587be (patch) | |
tree | 8dc5a6200bc5baf6a064d8e541e9c9c797c9aefb /core/views/signup.py | |
parent | 3df9b1a3d67e92c0ec47de5774baba14fe51da9c (diff) | |
download | troggle-f4fe681524ec672de843463b1c7d66a06a9587be.tar.gz troggle-f4fe681524ec672de843463b1c7d66a06a9587be.tar.bz2 troggle-f4fe681524ec672de843463b1c7d66a06a9587be.zip |
more fine tuning
Diffstat (limited to 'core/views/signup.py')
-rw-r--r-- | core/views/signup.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/core/views/signup.py b/core/views/signup.py index 537f7fe..177b2b7 100644 --- a/core/views/signup.py +++ b/core/views/signup.py @@ -38,7 +38,6 @@ def signup(request): "signup.html", {"form": pageform, "year": "2025", "dates": "30th June - 3rd August", - "name": f"{who}", } ) else: @@ -85,9 +84,9 @@ class ExpoSignupForm(forms.Form): veggie = forms.ChoiceField(choices=VEGGIE_CHOICES, widget=forms.RadioSelect(attrs={'tabindex': 10})) student = forms.ChoiceField(choices=STUDENT_CHOICES, widget=forms.RadioSelect(attrs={'tabindex': 11})) - transport_ok = forms.ChoiceField(choices=[('yes', 'Yes, I have arranged transport'), ('no', 'No, I need transport')], + 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') - transport_info = forms.CharField(widget=forms.Textarea(attrs={'rows': 6, 'cols': 80, 'tabindex': 13, "placeholder":"I am a numpty and have no clue how I will get there (or back)."}), + 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) bivvy = forms.BooleanField(required=False, widget=forms.CheckboxInput(attrs={'tabindex': 14, })) @@ -98,10 +97,10 @@ class ExpoSignupForm(forms.Form): allergies = forms.CharField(widget=forms.Textarea(attrs={'rows': 2, 'cols': 80, 'tabindex': 19}), required=False) medication = forms.CharField(widget=forms.Textarea(attrs={'rows': 2, 'cols': 80, 'tabindex': 20}), required=False) - medic_info = forms.CharField(widget=forms.Textarea(attrs={'rows': 5, 'cols': 80, 'tabindex': 21}), required=False) + medic_info = forms.CharField(widget=forms.Textarea(attrs={'rows': 2, 'cols': 80, 'tabindex': 21}), required=False) - extra_info = forms.CharField(widget=forms.Textarea(attrs={'rows': 5, 'cols': 80, 'tabindex': 22, + extra_info = forms.CharField(widget=forms.Textarea(attrs={'rows': 3, 'cols': 80, 'tabindex': 22, 'placeholder': 'Estuary english (fluent),\nCan use the potato hut bread machine (level 3 certificate)'}), required=False) - aims = forms.CharField(widget=forms.Textarea(attrs={'rows': 5, 'cols': 80, 'tabindex': 23, 'placeholder': 'Strolling over the plateau, sunning myself and taking in the views.'}), required=False) + aims = forms.CharField(widget=forms.Textarea(attrs={'rows': 3, 'cols': 80, 'tabindex': 23, 'placeholder': 'Strolling over the plateau, sunning myself and taking in the views.'}), required=False) |