From 675ba08420865ca809380cef33c9056392e8a145 Mon Sep 17 00:00:00 2001 From: Jason van Gumster Date: Tue, 9 Jan 2024 16:30:09 -0700 Subject: [PATCH] Trying to add a bit of placeholder text on talk proposals. This is kind of a dirty fix. I suspect that the MesssageForm class gets used elsewhere (like for contact forms and the like), so if that's the case, we may need to make a specific PresentationProposalForm class and use that in `conference_main/views/event.py` (where the form is actually built). --- conference_main/forms.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/conference_main/forms.py b/conference_main/forms.py index c9f4c4f5..cd34760e 100644 --- a/conference_main/forms.py +++ b/conference_main/forms.py @@ -37,7 +37,11 @@ class PresentationForm(forms.ModelForm): class MessageForm(forms.Form): - message = forms.CharField(widget=forms.Textarea) + message = forms.CharField(widget=forms.Textarea + attrs={'placeholder': ''' + (Main Stage, 20 minutes)\n\nThis totally awesome talk is going to be about... + ''' + )) class FestivalEntryForm(forms.ModelForm): -- 2.30.2