From 94cb9ad1fda2e50136f9d9e2ae8f5db7f7f81b05 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 13 Jun 2018 11:31:23 +0200 Subject: Find search: now a custom form --- archaeological_context_records/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archaeological_context_records/forms.py') diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py index 8c29ff2b6..3267f806f 100644 --- a/archaeological_context_records/forms.py +++ b/archaeological_context_records/forms.py @@ -122,11 +122,11 @@ class RecordSelect(CustomForm, TableSelect): class RecordFormSelection(CustomFormSearch): - form_label = _("Context record search") SEARCH_AND_SELECT = True - + form_label = _("Context record search") associated_models = {'pk': models.ContextRecord} currents = {'pk': models.ContextRecord} + pk = forms.IntegerField( label="", required=False, widget=widgets.DataTable( -- cgit v1.2.3