Update web/core/forms.py
This commit is contained in:
parent
8d1cae1047
commit
769720917a
@ -73,25 +73,3 @@ class AnnouncementForm(ModelForm):
|
||||
def clean_start_at(self):
|
||||
v = self.cleaned_data.get("start_at")
|
||||
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'
|
||||
}),
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user