aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/resources
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-08-01 15:18:46 +0100
committerMatthew Lemon <y@yulqen.org>2024-08-01 15:18:46 +0100
commit5f37a5839ff00f4f85c5e63e4dcb8246204c9386 (patch)
treec5a0cdd2fa3f1eae511bc74900937bb6d5d27fc6 /pyblackbird_cc/resources
parentb3d46f2ddbd7312e731e8a05e09a8b547439b2ff (diff)
Fix error with validation on additional_resource_category
Diffstat (limited to 'pyblackbird_cc/resources')
-rw-r--r--pyblackbird_cc/resources/forms.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/pyblackbird_cc/resources/forms.py b/pyblackbird_cc/resources/forms.py
index efe1ccb..e905944 100644
--- a/pyblackbird_cc/resources/forms.py
+++ b/pyblackbird_cc/resources/forms.py
@@ -160,7 +160,6 @@ class ResourceUpdateMetadataForm(forms.ModelForm):
super().__init__(*args, **kwargs)
self.helper = FormHelper(self)
self.helper.add_input(Submit("submit", "Submit"))
- self.fields['additional_resource_category'].choices = _create_choices_tuple()
error_css_class = "error"
required_css_class = "required"