summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-03-24 19:04:54 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-28 12:15:21 +0100
commit365fe5c2ead8c9b3f29a8e696805f891a28bc1a7 (patch)
treeedbacba9122061768cc4043b45fe92ec7133d485 /archaeological_warehouse/forms.py
parent0b3289853125221b74a22804f6d5923073f02ac2 (diff)
downloadIshtar-365fe5c2ead8c9b3f29a8e696805f891a28bc1a7.tar.bz2
Ishtar-365fe5c2ead8c9b3f29a8e696805f891a28bc1a7.zip
Container: add parents - localisation refactoring
Diffstat (limited to 'archaeological_warehouse/forms.py')
-rw-r--r--archaeological_warehouse/forms.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py
index f447478f1..9ff09bde4 100644
--- a/archaeological_warehouse/forms.py
+++ b/archaeological_warehouse/forms.py
@@ -266,6 +266,10 @@ class ContainerForm(CustomForm, ManageOldType, forms.Form):
associated_models = {'container_type': models.ContainerType,
'location': models.Warehouse,
'parent': models.Container}
+ 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=_("Current location (warehouse)"),
widget=widgets.JQueryAutoComplete(