Update web/core/forms.py
This commit is contained in:
parent
21807d1530
commit
0ac1f9f7ba
@ -65,7 +65,7 @@ class EntryForm(forms.Form):
|
||||
class AnnouncementForm(ModelForm):
|
||||
class Meta:
|
||||
model = Announcement
|
||||
fields = ["title", "message", "is_active", "start_at", "end_at"]
|
||||
fields = ["title", "message", "is_active"]
|
||||
widgets = {
|
||||
"message": Textarea(attrs={"rows": 6, "placeholder": "What’s new in this release…"}),
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user