summaryrefslogtreecommitdiff
path: root/archaeological_operations/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r--archaeological_operations/forms.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py
index 841131da6..61be371d1 100644
--- a/archaeological_operations/forms.py
+++ b/archaeological_operations/forms.py
@@ -49,7 +49,7 @@ from ishtar_common import widgets
from ishtar_common.forms import FinalForm, FormSet, get_now, \
reverse_lazy, get_form_selection, TableSelect, get_data_from_formset, \
- ManageOldType
+ ManageOldType, CustomForm
from ishtar_common.forms_common import TownFormSet, SourceForm, SourceSelect, \
get_town_field
@@ -761,8 +761,10 @@ class DashboardForm(forms.Form):
return fltr
-class OperationFormGeneral(ManageOldType, forms.Form):
+class OperationFormGeneral(ManageOldType, CustomForm, forms.Form):
form_label = _(u"General")
+ form_admin_name = _(u"Operation - General")
+ form_slug = "operation-general"
file_upload = True
associated_models = {'scientist': Person,
'in_charge': Person,