|
@ -30,7 +30,7 @@ class PosliReseniForm(forms.Form): |
|
|
# FIXME pridat vice resitelu |
|
|
# FIXME pridat vice resitelu |
|
|
resitel = forms.ModelChoiceField(label="Řešitel", |
|
|
resitel = forms.ModelChoiceField(label="Řešitel", |
|
|
queryset=Resitel.objects.all(), |
|
|
queryset=Resitel.objects.all(), |
|
|
widget=autocomplete.ModelSelect2( |
|
|
widget=autocomplete.ModelSelect2Multiple( |
|
|
url='autocomplete_resitel', |
|
|
url='autocomplete_resitel', |
|
|
attrs = {'data-placeholder--id': '-1', |
|
|
attrs = {'data-placeholder--id': '-1', |
|
|
'data-placeholder--text' : '---', |
|
|
'data-placeholder--text' : '---', |
|
|