summaryrefslogtreecommitdiffstats
path: root/core/views/expo.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2025-01-15 16:37:28 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2025-01-15 16:37:28 +0000
commitd603bef64e74dc69db57bbdbe0782cf2fc8f4726 (patch)
tree11e5ab86390cd5cf90b3a43bc4dab8e56116ca89 /core/views/expo.py
parentd31777dc8d008a1cea0c611071f0c64ed72e9542 (diff)
downloadtroggle-d603bef64e74dc69db57bbdbe0782cf2fc8f4726.tar.gz
troggle-d603bef64e74dc69db57bbdbe0782cf2fc8f4726.tar.bz2
troggle-d603bef64e74dc69db57bbdbe0782cf2fc8f4726.zip
prompt placeholders added
Diffstat (limited to 'core/views/expo.py')
-rw-r--r--core/views/expo.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/views/expo.py b/core/views/expo.py
index a6abfc1..123540a 100644
--- a/core/views/expo.py
+++ b/core/views/expo.py
@@ -578,16 +578,16 @@ class ExpoPageForm(forms.Form):
)
class ExpoSignupForm(forms.Form):
- name = forms.CharField(label='Full name', max_length=100, widget=forms.TextInput(attrs={'tabindex': 1}))
- address = forms.CharField(widget=forms.Textarea(attrs={'rows': 7, 'cols': 20, 'tabindex': 2}))
- phone = forms.CharField(max_length=15, widget=forms.TextInput(attrs={'tabindex': 3}))
- email = forms.EmailField(widget=forms.TextInput(attrs={'tabindex': 4}))
+ name = forms.CharField(label='Full name', max_length=100, widget=forms.TextInput(attrs={'tabindex': 1, 'placeholder': 'Anathema Device'}))
+ address = forms.CharField(widget=forms.Textarea(attrs={'rows': 7, 'cols': 20, 'tabindex': 2, 'placeholder': 'The Airfield,\nTadfield'}))
+ phone = forms.CharField(max_length=15, widget=forms.TextInput(attrs={'tabindex': 3, 'placeholder': '+44.1234567890'}))
+ email = forms.EmailField(widget=forms.TextInput(attrs={'tabindex': 4, 'placeholder': 'a.device@potatohut.expo'}))
- kinname = forms.CharField(label='Next of Kin name', max_length=100, widget=forms.TextInput(attrs={'tabindex': 5}))
+ kinname = forms.CharField(label='Next of Kin name', max_length=100, widget=forms.TextInput(attrs={'tabindex': 5, 'placeholder': 'Newton Pulsifer'}))
kinaddress = forms.CharField(widget=forms.Textarea(attrs={'rows': 7, 'cols': 20, 'tabindex': 6}))
kinphone = forms.CharField(max_length=15, widget=forms.TextInput(attrs={'tabindex': 7}))
kinemail = forms.EmailField(widget=forms.TextInput(attrs={'tabindex': 8}))
- relation = forms.CharField(label='Relation to you', max_length=100, widget=forms.TextInput(attrs={'tabindex': 9}))
+ relation = forms.CharField(label='Relation to you', max_length=100, widget=forms.TextInput(attrs={'tabindex': 9, 'placeholder': 'Beau'}))
VEGGIE_CHOICES = [
('yes', 'Yes'),