From 8d1cae10470b025f2398eb834eb6cefc82a18e5b Mon Sep 17 00:00:00 2001 From: Joshua Laymon Date: Sat, 6 Sep 2025 19:24:59 +0000 Subject: [PATCH] Update web/core/forms.py --- web/core/forms.py | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/web/core/forms.py b/web/core/forms.py index 4cb5cb3..c66ee0f 100644 --- a/web/core/forms.py +++ b/web/core/forms.py @@ -72,4 +72,26 @@ class AnnouncementForm(ModelForm): def clean_start_at(self): v = self.cleaned_data.get("start_at") - return v or timezone.now() \ No newline at end of file + return v or timezone.now() + +from django import forms +from .models import Entry + +class EntryForm(forms.ModelForm): + class Meta: + model = Entry + fields = '__all__' + widgets = { + 'subject': forms.TextInput(attrs={ + 'placeholder': 'Separate subjects with commas (e.g., Faith, Love, Patience)' + }), + 'scripture_raw': forms.TextInput(attrs={ + 'placeholder': 'Use WOL abbreviations; separate refs with ; (e.g., Joh 3:16; Ps 23:1-4)' + }), + 'source': forms.TextInput(attrs={ + 'placeholder': 'Use correct WOL mnemonic for linking; otherwise Google search' + }), + 'talk_title': forms.TextInput(attrs={ + 'placeholder': 'Will auto-fill when a Talk Number is selected' + }), + } \ No newline at end of file