diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-04-04 14:58:05 +0200 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-04-04 17:27:54 +0200 | 
| commit | 8e19be1b27cf14cf0f76d7c4bcd81e520ac95407 (patch) | |
| tree | 388ccdce5f40fe3bda8c457daeb397805925526d /archaeological_finds/forms.py | |
| parent | 3f6567507978281761005dc12951511e0c81a9ae (diff) | |
| download | Ishtar-8e19be1b27cf14cf0f76d7c4bcd81e520ac95407.tar.bz2 Ishtar-8e19be1b27cf14cf0f76d7c4bcd81e520ac95407.zip | |
Forms (operations, context records, files): add search by parcel (refs #575)
Diffstat (limited to 'archaeological_finds/forms.py')
| -rw-r--r-- | archaeological_finds/forms.py | 4 | 
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")) | 
