diff options
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, | 
