From 743cf25476968d7a21c92efa5570f4345c17d5be Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Sun, 20 May 2018 21:29:37 +0200 Subject: [PATCH] add abstract field for music acts --- src/program/forms.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/program/forms.py b/src/program/forms.py index 1cf6fe0a..8c74b883 100644 --- a/src/program/forms.py +++ b/src/program/forms.py @@ -176,6 +176,10 @@ class MusicEventProposalForm(BaseEventProposalForm): self.fields['title'].label = 'Title of music act' self.fields['title'].help_text = 'The title of this music act/concert/set.' + # fix label and help_text for the abstract field + self.fields['abstract'].label = 'Description' + self.fields['abstract'].help_text = 'The description of this music act' + # fix label and help_text for the submission_notes field self.fields['submission_notes'].label = 'Music Act Notes' self.fields['submission_notes'].help_text = 'Private notes regarding this music act. Only visible to yourself and the BornHack organisers.' @@ -183,9 +187,6 @@ class MusicEventProposalForm(BaseEventProposalForm): # no video recording for music acts del(self.fields['allow_video_recording']) - # no abstract for music acts - del(self.fields['abstract']) - # better placeholder text for duration field self.fields['duration'].widget.attrs['placeholder'] = 'Duration (minutes)'