aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/resources/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyblackbird_cc/resources/forms.py')
-rw-r--r--pyblackbird_cc/resources/forms.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pyblackbird_cc/resources/forms.py b/pyblackbird_cc/resources/forms.py
index 05d8a75..b8b638c 100644
--- a/pyblackbird_cc/resources/forms.py
+++ b/pyblackbird_cc/resources/forms.py
@@ -102,6 +102,7 @@ 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)
def clean_thumbnail_files(self):
thumbnail_files = self.files.getlist("thumbnail_files")