diff --git a/productions/forms.py b/productions/forms.py index 6def112e1..b60b6d162 100644 --- a/productions/forms.py +++ b/productions/forms.py @@ -296,7 +296,8 @@ def save(self, commit=True): class Meta: model = ProductionLink - exclude = ['parameter', 'link_class', 'production', 'is_download_link', 'description', 'demozoo0_id', 'file_for_screenshot', 'is_unresolved_for_screenshotting'] + exclude = ['parameter', 'link_class', 'production', 'is_download_link', 'demozoo0_id', 'file_for_screenshot', 'is_unresolved_for_screenshotting'] + widgets = {'description': forms.TextInput(attrs={'placeholder': 'Optional description, like "party version"'})} ProductionDownloadLinkFormSet = inlineformset_factory(Production, ProductionLink, form=ProductionDownloadLinkForm, formset=BaseExternalLinkFormSet, extra=2) @@ -318,7 +319,8 @@ def save(self, commit=True): class Meta: model = ProductionLink - exclude = ['parameter', 'link_class', 'production', 'is_download_link', 'description', 'demozoo0_id', 'file_for_screenshot', 'is_unresolved_for_screenshotting'] + exclude = ['parameter', 'link_class', 'production', 'is_download_link', 'demozoo0_id', 'file_for_screenshot', 'is_unresolved_for_screenshotting'] + widgets = {'description': forms.TextInput(attrs={'placeholder': 'Optional description, like "party version"'})} ProductionExternalLinkFormSet = inlineformset_factory(Production, ProductionLink, form=ProductionExternalLinkForm, formset=BaseExternalLinkFormSet) diff --git a/productions/templates/productions/_downloads.html b/productions/templates/productions/_downloads.html index cdb860646..853348f19 100644 --- a/productions/templates/productions/_downloads.html +++ b/productions/templates/productions/_downloads.html @@ -12,7 +12,7 @@