|
@ -25,7 +25,7 @@ class PosliReseniForm(forms.Form): |
|
|
queryset=m.Problem.objects.all(), |
|
|
queryset=m.Problem.objects.all(), |
|
|
label="Problémy", |
|
|
label="Problémy", |
|
|
widget=autocomplete.ModelSelect2Multiple( |
|
|
widget=autocomplete.ModelSelect2Multiple( |
|
|
url='autocomplete_problem_odevzdatelny', |
|
|
url='autocomplete_problem', |
|
|
attrs={ |
|
|
attrs={ |
|
|
'data-placeholder--id': '-1', |
|
|
'data-placeholder--id': '-1', |
|
|
'data-placeholder--text': '---', |
|
|
'data-placeholder--text': '---', |
|
|