diff options
Diffstat (limited to 'pyblackbird_cc/resources/forms.py')
-rw-r--r-- | pyblackbird_cc/resources/forms.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pyblackbird_cc/resources/forms.py b/pyblackbird_cc/resources/forms.py index b8b638c..9320a77 100644 --- a/pyblackbird_cc/resources/forms.py +++ b/pyblackbird_cc/resources/forms.py @@ -102,7 +102,12 @@ class ResourceCreateForm(forms.Form): ) pdf_files.widget.attrs.update({"class": "file_upload", "accept": ".pdf"}) thumbnail_files.widget.attrs.update({"class": "file_upload", "accept": ".png,.jpg"}) - feature_slot = forms.IntegerField(min_value=1, max_value=3, required=False) + feature_slot = forms.IntegerField( + min_value=1, + max_value=3, + required=False, + help_text="Please enter either 1, 2 or 3 here. This will dictate where on the page this resource will feature on the main list page.", + ) def clean_thumbnail_files(self): thumbnail_files = self.files.getlist("thumbnail_files") |