summaryrefslogtreecommitdiff
path: root/archaeological_context_records/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_context_records/forms.py')
-rw-r--r--archaeological_context_records/forms.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py
index ce9175d10..f90cf7e9d 100644
--- a/archaeological_context_records/forms.py
+++ b/archaeological_context_records/forms.py
@@ -42,8 +42,14 @@ from ishtar_common.forms_common import get_town_field, SourceForm, \
from archaeological_operations.forms import OperationSelect, ParcelField
class RecordSelect(TableSelect):
+ label = forms.CharField(label=_(u"ID"), max_length=100)
parcel__town = get_town_field()
- operation__year = forms.IntegerField(label=_(u"Year"))
+ if settings.COUNTRY == 'fr':
+ operation__code_patriarche = forms.IntegerField(
+ label=_(u"Code PATRIARCHE"))
+ operation__year = forms.IntegerField(label=_(u"Operation's year"))
+ operation__operation_code = forms.IntegerField(
+ label=_(u"Operation's number (index by year)"))
datings__period = forms.ChoiceField(label=_(u"Period"), choices=[])
unit = forms.ChoiceField(label=_(u"Unit type"), choices=[])
parcel = ParcelField(label=_("Parcel (section/number)"))