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.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py
index 17e557283..0d68d6aa3 100644
--- a/archaeological_context_records/forms.py
+++ b/archaeological_context_records/forms.py
@@ -63,7 +63,7 @@ class RecordSelect(TableSelect):
search_vector = forms.CharField(label=_(u"Full text search"),
widget=widgets.SearchWidget)
label = forms.CharField(label=_(u"ID"), max_length=100)
- parcel__town = get_town_field()
+ town = get_town_field()
if settings.COUNTRY == 'fr':
operation__code_patriarche = forms.CharField(
max_length=500,
@@ -406,8 +406,8 @@ class RecordSourceSelect(SourceSelect):
max_length=500,
widget=OAWidget,
label="Code PATRIARCHE")
- context_record__parcel__town = get_town_field(
- label=_(u"Town of the operation"))
+ context_record__town = get_town_field(
+ label=_(u"Town"))
context_record__datings__period = forms.ChoiceField(
label=_(u"Period of the context record"), choices=[])
context_record__unit = forms.ChoiceField(