diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-02-23 13:53:13 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-02-23 13:53:13 +0100 |
| commit | b0deac4c1f7b5f3da9bf8cb2c5676549074251e5 (patch) | |
| tree | 4c1a890716aad3b5896e257ab778e63eb30e6497 /archaeological_finds/forms.py | |
| parent | 7d4e32a6ff0e8a663bababda1b17108426805994 (diff) | |
| download | Ishtar-b0deac4c1f7b5f3da9bf8cb2c5676549074251e5.tar.bz2 Ishtar-b0deac4c1f7b5f3da9bf8cb2c5676549074251e5.zip | |
Revert "Update labels + add col for find search"
This reverts commit 7d4e32a6ff0e8a663bababda1b17108426805994.
Diffstat (limited to 'archaeological_finds/forms.py')
| -rw-r--r-- | archaeological_finds/forms.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py index 9e0d85c3d..26ba8350f 100644 --- a/archaeological_finds/forms.py +++ b/archaeological_finds/forms.py @@ -142,7 +142,7 @@ class FindForm(CustomForm, ManageOldType): 'get_first_base_find__spatial_reference_system': SpatialReferenceSystem} label = forms.CharField( - label=_(u"Label"), + label=_(u"Free ID"), validators=[validators.MaxLengthValidator(60)]) previous_id = forms.CharField(label=_("Previous ID"), required=False) description = forms.CharField(label=_("Description"), @@ -350,7 +350,7 @@ class FindSelect(TableSelect): search_vector = forms.CharField(label=_(u"Full text search")) base_finds__cache_short_id = forms.CharField(label=_(u"Short ID")) base_finds__cache_complete_id = forms.CharField(label=_(u"Complete ID")) - label = forms.CharField(label=_(u"Label")) + label = forms.CharField(label=_(u"Free ID")) base_finds__context_record__parcel__town = get_town_field() base_finds__context_record__operation__year = forms.IntegerField( label=_(u"Year")) @@ -633,7 +633,7 @@ class ResultFindForm(ManageOldType, forms.Form): form_label = _(u"Resulting find") associated_models = {'material_type': models.MaterialType} label = forms.CharField( - label=_(u"Label"), + label=_(u"Free ID"), validators=[validators.MaxLengthValidator(60)]) description = forms.CharField(label=_(u"Precise description"), widget=forms.Textarea) |
