From 2a93691830ae052b26e7493ba37557c7eb07d1b5 Mon Sep 17 00:00:00 2001 From: Ross Date: Wed, 1 Dec 2021 20:25:02 +0000 Subject: [PATCH] . --- atlas/forms.py | 2 +- atlas/templates/atlas/series_form.html | 39 ++++++++++---------------- 2 files changed, 16 insertions(+), 25 deletions(-) diff --git a/atlas/forms.py b/atlas/forms.py index 3dd5e45c..72f4d56f 100755 --- a/atlas/forms.py +++ b/atlas/forms.py @@ -124,7 +124,7 @@ class SeriesForm(ModelForm): widgets = { - "examination": autocomplete.ModelSelect2Multiple( + "examination": autocomplete.ModelSelect2( url="generic:examination-autocomplete" ), } diff --git a/atlas/templates/atlas/series_form.html b/atlas/templates/atlas/series_form.html index 2e02bd57..38cb4981 100755 --- a/atlas/templates/atlas/series_form.html +++ b/atlas/templates/atlas/series_form.html @@ -6,24 +6,6 @@