summaryrefslogtreecommitdiff
path: root/archaeological_finds/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/forms.py')
-rw-r--r--archaeological_finds/forms.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py
index 1498d4028..83a9e2da3 100644
--- a/archaeological_finds/forms.py
+++ b/archaeological_finds/forms.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-# Copyright (C) 2010-2015 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet>
+# Copyright (C) 2010-2016 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
@@ -51,7 +51,7 @@ class FindForm(forms.Form):
'preservation_to_consider': models.PreservationType,
'integritie': models.IntegrityType}
label = forms.CharField(
- label=_(u"Free-ID"),
+ label=_(u"Free ID"),
validators=[validators.MaxLengthValidator(60)])
previous_id = forms.CharField(label=_("Previous ID"), required=False)
description = forms.CharField(label=_("Description"),
@@ -148,6 +148,9 @@ DatingFormSet.form_label = _("Dating")
class FindSelect(TableSelect):
+ 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"Free ID"))
base_finds__context_record__parcel__town = get_town_field()
base_finds__context_record__operation__year = forms.IntegerField(
label=_(u"Year"))
@@ -292,7 +295,7 @@ class ResultFindForm(forms.Form):
form_label = _(u"Resulting find")
associated_models = {'material_type': models.MaterialType}
label = forms.CharField(
- label=_(u"Free-ID"),
+ label=_(u"Free ID"),
validators=[validators.MaxLengthValidator(60)])
description = forms.CharField(label=_(u"Precise description"),
widget=forms.Textarea)