Upgrade odevzdavatka #30

Merged
zelvuska merged 37 commits from upgrade_odevzdavatka into master 2023-06-19 20:48:30 +02:00
Showing only changes of commit 2ef3311bff - Show all commits

View file

@ -29,6 +29,7 @@ class PosliReseniForm(forms.Form):
attrs={ attrs={
'data-placeholder--id': '-1', 'data-placeholder--id': '-1',
'data-placeholder--text': '---', 'data-placeholder--text': '---',
'data-close-on-select': 'false',
'data-allow-clear': 'true' 'data-allow-clear': 'true'
}, },
), ),
@ -43,6 +44,7 @@ class PosliReseniForm(forms.Form):
url='autocomplete_resitel', url='autocomplete_resitel',
attrs = {'data-placeholder--id': '-1', attrs = {'data-placeholder--id': '-1',
'data-placeholder--text' : '---', 'data-placeholder--text' : '---',
'data-close-on-select': 'false',
'data-allow-clear': 'true'}) 'data-allow-clear': 'true'})
) )
@ -74,6 +76,7 @@ class NahrajReseniForm(forms.ModelForm):
url='autocomplete_problem_odevzdatelny', url='autocomplete_problem_odevzdatelny',
attrs = {'data-placeholder--id': '-1', attrs = {'data-placeholder--id': '-1',
'data-placeholder--text' : '---', 'data-placeholder--text' : '---',
'data-close-on-select': 'false',
'data-allow-clear': 'true'}, 'data-allow-clear': 'true'},
forward=["nadproblem_id"], forward=["nadproblem_id"],
), ),
@ -82,6 +85,7 @@ class NahrajReseniForm(forms.ModelForm):
url='autocomplete_resitel_public', url='autocomplete_resitel_public',
attrs = {'data-placeholder--id': '-1', attrs = {'data-placeholder--id': '-1',
'data-placeholder--text' : '---', 'data-placeholder--text' : '---',
'data-close-on-select': 'false',
'data-allow-clear': 'true'}, 'data-allow-clear': 'true'},
) )
} }