summaryrefslogtreecommitdiff
path: root/archaeological_context_records/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-09-07 12:46:34 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-09-07 12:46:34 +0200
commit4b59390d44c62bacf230502e685ebe3fe3213675 (patch)
treee739aa2aa9e518ff453cfb40d64a6a8126b131bf /archaeological_context_records/forms.py
parent0226b621f5265825f78b56e0ffff1877fa174693 (diff)
downloadIshtar-4b59390d44c62bacf230502e685ebe3fe3213675.tar.bz2
Ishtar-4b59390d44c62bacf230502e685ebe3fe3213675.zip
Display a message to warn about related items and history - many improvment on sheet layout
Diffstat (limited to 'archaeological_context_records/forms.py')
-rw-r--r--archaeological_context_records/forms.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py
index daaf5f5ed..d468e3a3c 100644
--- a/archaeological_context_records/forms.py
+++ b/archaeological_context_records/forms.py
@@ -138,10 +138,12 @@ class RecordFormGeneral(ManageOldType, forms.Form):
validators=[validators.MaxLengthValidator(200)])
description = forms.CharField(label=_(u"Description"),
widget=forms.Textarea, required=False)
- length = forms.IntegerField(label=_(u"Length (m)"), required=False)
- width = forms.IntegerField(label=_(u"Width (m)"), required=False)
- thickness = forms.IntegerField(label=_(u"Thickness (m)"), required=False)
- depth = forms.IntegerField(label=_(u"Depth (m)"), required=False)
+ comment = forms.CharField(label=_(u"General comment"),
+ widget=forms.Textarea, required=False)
+ length = forms.FloatField(label=_(u"Length (m)"), required=False)
+ width = forms.FloatField(label=_(u"Width (m)"), required=False)
+ thickness = forms.FloatField(label=_(u"Thickness (m)"), required=False)
+ depth = forms.FloatField(label=_(u"Depth (m)"), required=False)
unit = forms.ChoiceField(label=_("Unit"), required=False, choices=[])
location = forms.CharField(
label=_(u"Location"), widget=forms.Textarea,