mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-05-15 23:41:28 +01:00
feat(people): Use Select2 fields for Relationship People
This commit is contained in:
@@ -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