summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_warehouse/forms.py')
-rw-r--r--archaeological_warehouse/forms.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py
index 2e672efd4..4d4348b70 100644
--- a/archaeological_warehouse/forms.py
+++ b/archaeological_warehouse/forms.py
@@ -168,7 +168,9 @@ class ContainerForm(CustomForm, ManageOldType, forms.Form):
associated_models = {'container_type': models.ContainerType,
'location': models.Warehouse,
'responsible': models.Warehouse}
- reference = forms.CharField(label=_(u"Ref."))
+ reference = forms.CharField(label=_(u"Ref."), max_length=200)
+ old_reference = forms.CharField(label=_(u"Old reference"), required=False,
+ max_length=200)
container_type = forms.ChoiceField(label=_(u"Container type"), choices=[])
location = forms.IntegerField(
label=_(u"Current location (warehouse)"),