mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-11-01 10:33:53 +00:00
feat(people): Use Select2 fields for Relationship People
This commit is contained in:
1 parent
39127cf972
commit
e47ee453bd
1 file changed
+4
@@ -37,6 +37,10 @@ class RelationshipForm(forms.ModelForm):
|
||||
'source',
|
||||
'target',
|
||||
]
|
||||
widgets = {
|
||||
'source': Select2Widget(),
|
||||
'target': Select2Widget(),
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
Reference in new issue
Block a user