summaryrefslogtreecommitdiff
path: root/ishtar/furnitures/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2011-05-10 12:42:57 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2011-05-10 12:42:57 +0200
commitd7e492644e3a9b41636bc06d7d9d8fcd78efb1ea (patch)
tree089d3d814e560e1691cfad299d11a059b81af5e5 /ishtar/furnitures/forms.py
parent6406c6f1538c669969f44a04dd47905f40b6102f (diff)
downloadIshtar-d7e492644e3a9b41636bc06d7d9d8fcd78efb1ea.tar.bz2
Ishtar-d7e492644e3a9b41636bc06d7d9d8fcd78efb1ea.zip
Label changes (closes #440)
Diffstat (limited to 'ishtar/furnitures/forms.py')
-rw-r--r--ishtar/furnitures/forms.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ishtar/furnitures/forms.py b/ishtar/furnitures/forms.py
index 152439b6f..5553be28c 100644
--- a/ishtar/furnitures/forms.py
+++ b/ishtar/furnitures/forms.py
@@ -1867,7 +1867,7 @@ class RecordFormGeneral(forms.Form):
form_label = _("General")
associated_models = {'parcel':models.Parcel, 'unit':models.Unit}
parcel = forms.ChoiceField(label=_("Parcel"), choices=[])
- label = forms.CharField(label=_(u"Label"),
+ label = forms.CharField(label=_(u"ID"),
validators=[validators.MaxLengthValidator(200)])
description = forms.CharField(label=_(u"Description"),
widget=forms.Textarea, required=False)
@@ -2002,7 +2002,7 @@ class ItemWizard(Wizard):
class ItemFormBase(forms.Form):
form_label = _("Base item")
base_model = 'base_items'
- base_items__label = forms.CharField(label=_(u"General label"),
+ base_items__label = forms.CharField(label=_(u"General ID"),
validators=[validators.MaxLengthValidator(60)])
base_items__description = forms.CharField(label=_("General description"),
widget=forms.Textarea)
@@ -2012,7 +2012,7 @@ class ItemFormBase(forms.Form):
class ItemForm(forms.Form):
form_label = _("Item")
associated_models = {'material_type':models.MaterialType,}
- label = forms.CharField(label=_(u"Label"),
+ label = forms.CharField(label=_(u"ID"),
validators=[validators.MaxLengthValidator(60)])
description = forms.CharField(label=_("Precise description"),
widget=forms.Textarea, required=False)
@@ -2146,7 +2146,7 @@ def check_treatment(form_name, type_key, type_list=[], not_type_list=[]):
class ResultItemForm(forms.Form):
form_label = _("Resulting item")
associated_models = {'material_type':models.MaterialType}
- label = forms.CharField(label=_(u"Label"),
+ label = forms.CharField(label=_(u"ID"),
validators=[validators.MaxLengthValidator(60)])
description = forms.CharField(label=_("Precise description"),
widget=forms.Textarea)