summaryrefslogtreecommitdiff
path: root/archaeological_operations/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-21 23:53:23 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-21 23:53:23 +0100
commit9eacb3f2b2f5819ef3eea1a54bb2c4bfb13efda6 (patch)
tree2a2b687acef6f878c05f7148a150c10c3a7fb71a /archaeological_operations/forms.py
parent8eb09a666e7048ce8e531649566418670d94036d (diff)
parentc00bb6298a602f74c55cfd60b8601295470a8e3b (diff)
downloadIshtar-9eacb3f2b2f5819ef3eea1a54bb2c4bfb13efda6.tar.bz2
Ishtar-9eacb3f2b2f5819ef3eea1a54bb2c4bfb13efda6.zip
Merge branch 'master' into v0.9
Conflicts: Makefile.example archaeological_operations/migrations/0061_regenerate_cached_label.py archaeological_warehouse/migrations/0024_generate_cache_lbl_for_containers.py
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r--archaeological_operations/forms.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py
index f9f1095be..27ab4670a 100644
--- a/archaeological_operations/forms.py
+++ b/archaeological_operations/forms.py
@@ -465,6 +465,8 @@ class OperationSelect(TableSelect):
label=_(u"Department"), choices=[])
common_name = forms.CharField(label=_(u"Name"),
max_length=30)
+ address = forms.CharField(label=_(u"Address / Locality"),
+ max_length=100)
operation_type = forms.ChoiceField(label=_(u"Operation type"),
choices=[])
end_date = forms.NullBooleanField(label=_(u"Is open?"))
@@ -746,7 +748,9 @@ class OperationFormGeneral(ManageOldType, forms.Form):
widget=OAWidget,
required=False)
common_name = forms.CharField(label=_(u"Generic name"), required=False,
- max_length=120, widget=forms.Textarea)
+ max_length=500, widget=forms.Textarea)
+ address = forms.CharField(label=_(u"Address / Locality"), required=False,
+ max_length=500, widget=forms.Textarea)
operation_type = forms.ChoiceField(label=_(u"Operation type"),
choices=[])
year = forms.IntegerField(label=_(u"Year"),