summaryrefslogtreecommitdiff
path: root/archaeological_finds/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2013-04-04 22:43:13 +0000
committerÉtienne Loks <etienne.loks@proxience.com>2013-04-04 22:43:13 +0000
commitee8c9ad6004ab35e409c7041a0eba214b45c36d7 (patch)
treea2c624b1ce76c6d57a8a156766e4863710d8ae19 /archaeological_finds/forms.py
parent56aea239caffef95c481aac3b77a8d43e8d3ca35 (diff)
parente51684c2adb656d3ef14e40e649e280a6c0bf1b8 (diff)
downloadIshtar-ee8c9ad6004ab35e409c7041a0eba214b45c36d7.tar.bz2
Ishtar-ee8c9ad6004ab35e409c7041a0eba214b45c36d7.zip
Merge branch 'master' of lysithea.proxience.net:/home/proxience/git/ishtar
Diffstat (limited to 'archaeological_finds/forms.py')
-rw-r--r--archaeological_finds/forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py
index c5480d8a8..feaad0e23 100644
--- a/archaeological_finds/forms.py
+++ b/archaeological_finds/forms.py
@@ -39,7 +39,7 @@ import models
from ishtar_common import widgets
from ishtar_common.forms import FinalForm, FormSet, FloatField, \
- formset_factory, get_now, get_form_selection, reverse_lazy
+ formset_factory, get_now, get_form_selection, reverse_lazy, TableSelect
from ishtar_common.forms_common import get_town_field, \
SourceForm, SourceSelect, SourceDeletionForm, AuthorFormset
from archaeological_context_records.forms import RecordFormSelection
@@ -81,7 +81,7 @@ class DateForm(forms.Form):
self.fields['dating__dating_type'].choices = DatingType.get_types()
self.fields['dating__dating_type'].help_text = DatingType.get_help()
-class FindSelect(forms.Form):
+class FindSelect(TableSelect):
base_finds__context_record__parcel__town = get_town_field()
base_finds__context_record__operation__year = forms.IntegerField(
label=_(u"Year"))