mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 03:17:07 +00: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