From 782d2ae31ad55eda1439913d7c9ddac495d15735 Mon Sep 17 00:00:00 2001 From: Ross Date: Sun, 5 Dec 2021 16:02:36 +0000 Subject: [PATCH] . --- atlas/forms.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/atlas/forms.py b/atlas/forms.py index e1c58320..bbf43fce 100755 --- a/atlas/forms.py +++ b/atlas/forms.py @@ -29,6 +29,12 @@ class ConditionForm(ModelForm): model = Condition exclude = [] + widgets = { + "synonym": autocomplete.ModelSelect2Multiple( + url="atlas:condition-autocomplete" + ), + } + class SeriesFindingForm(ModelForm): class Meta: model = SeriesFinding