diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-12-01 13:41:18 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:21 +0100 |
commit | babba00f09b77972cc35fcea59b31d4615685ab7 (patch) | |
tree | b691a089838807ed00ecf9a9c38a19c27bf35ace /archaeological_operations/forms.py | |
parent | 5015e03c0ceabe8ca8a7884e7178bfd246d77788 (diff) | |
download | Ishtar-babba00f09b77972cc35fcea59b31d4615685ab7.tar.bz2 Ishtar-babba00f09b77972cc35fcea59b31d4615685ab7.zip |
Context records: add surface
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r-- | archaeological_operations/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index 8613822e1..c4eef1fc2 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -829,7 +829,7 @@ class OperationFormGeneral(CustomForm, ManageOldType): validators=[valid_id(Person)], required=False) surface = forms.IntegerField( required=False, widget=widgets.AreaWidget, - label=_(u"Total surface (m2)"), + label=_("Total surface (m2)"), validators=[validators.MinValueValidator(0), validators.MaxValueValidator(999999999)]) start_date = DateField(label=_(u"Start date"), required=False) |