diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-09-08 10:04:23 +0200 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-09-08 10:04:23 +0200 | 
| commit | 770a612b468eebbf85f88ef54d010a35801189b2 (patch) | |
| tree | e375ec41c35c8a24b6883bb0f0b27ced03916f78 /archaeological_context_records/forms.py | |
| parent | 36d03c08136e6ff63812cbbc431d06304e7ba156 (diff) | |
| parent | 031e806212ed489f81536103fb7c28e177fb7322 (diff) | |
| download | Ishtar-770a612b468eebbf85f88ef54d010a35801189b2.tar.bz2 Ishtar-770a612b468eebbf85f88ef54d010a35801189b2.zip | |
Merge branch 'master' into v0.9
Diffstat (limited to 'archaeological_context_records/forms.py')
| -rw-r--r-- | archaeological_context_records/forms.py | 10 | 
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, | 
