diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-09-08 10:10:17 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-09-08 10:10:17 +0200 |
| commit | 7bd76cc2e394405c425362327d16c06ccb324c23 (patch) | |
| tree | 031abd0c456c71eec97926555208a92bf179eb50 /archaeological_context_records/forms.py | |
| parent | 57933b3f3b157d043a526ae5bc27b4df49c4c110 (diff) | |
| parent | c75b9f076f8893a50713e75cffde1b757c320ebe (diff) | |
| download | Ishtar-7bd76cc2e394405c425362327d16c06ccb324c23.tar.bz2 Ishtar-7bd76cc2e394405c425362327d16c06ccb324c23.zip | |
Merge branch 'v0.9' into wheezy
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, |
