diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-06-14 00:14:21 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-06-14 00:14:21 +0200 |
commit | 0f267a97dca3eea4c3317e36dfc3e8498f5769a5 (patch) | |
tree | a148966dcff2830f5c01fe26f9416f3beaa7f662 /ishtar/furnitures/forms_operations.py | |
parent | 7422ebfa33a90927b8658515293fb09b6dbff424 (diff) | |
download | Ishtar-0f267a97dca3eea4c3317e36dfc3e8498f5769a5.tar.bz2 Ishtar-0f267a97dca3eea4c3317e36dfc3e8498f5769a5.zip |
Manage units (closes #447)
Diffstat (limited to 'ishtar/furnitures/forms_operations.py')
-rw-r--r-- | ishtar/furnitures/forms_operations.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar/furnitures/forms_operations.py b/ishtar/furnitures/forms_operations.py index 75df6dd50..c362a21e4 100644 --- a/ishtar/furnitures/forms_operations.py +++ b/ishtar/furnitures/forms_operations.py @@ -234,7 +234,7 @@ class OperationFormGeneral(forms.Form): start_date = forms.DateField(label=_(u"Start date"), required=False, widget=widgets.JQueryDate) surface = forms.IntegerField(required=False, widget=widgets.AreaWidget, - label=_(u"Total surface"), + label=_(u"Total surface (m²)"), validators=[validators.MinValueValidator(0), validators.MaxValueValidator(999999999)]) year = forms.IntegerField(label=_(u"Year"), @@ -283,7 +283,7 @@ class OperationFormReference(forms.Form): class OperationFormPreventive(forms.Form): form_label = _("Preventive informations - excavation") - cost = forms.IntegerField(label=_(u"Cost"), required=False) + cost = forms.IntegerField(label=_(u"Cost (€)"), required=False) if settings.COUNTRY == 'fr': fnap_financing = forms.FloatField(required=False, label=u"Pourcentage de financement FNAP", |