Vložit řešení: více řešitelů
This commit is contained in:
parent
0c5c923b06
commit
c7ce943fc0
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ class PosliReseniForm(forms.Form):
|
|||
# FIXME pridat vice resitelu
|
||||
resitel = forms.ModelChoiceField(label="Řešitel",
|
||||
queryset=Resitel.objects.all(),
|
||||
widget=autocomplete.ModelSelect2(
|
||||
widget=autocomplete.ModelSelect2Multiple(
|
||||
url='autocomplete_resitel',
|
||||
attrs = {'data-placeholder--id': '-1',
|
||||
'data-placeholder--text' : '---',
|
||||
|
|
Loading…
Reference in a new issue