forked from beba/foerderbarometer
informal error message
This commit is contained in:
parent
c5bdc80c54
commit
b963db5731
|
|
@ -159,7 +159,7 @@ class BaseProjectForm(ModelForm):
|
||||||
|
|
||||||
if model.other in values:
|
if model.other in values:
|
||||||
if not cleaned_data[field_other]:
|
if not cleaned_data[field_other]:
|
||||||
self.add_error(field_other, f'Bitte geben Sie einen Wert an oder deselektieren Sie "{model.OTHER}".')
|
self.add_error(field_other, f'Bitte gib einen Wert an oder deselektiere "{model.OTHER}".')
|
||||||
else:
|
else:
|
||||||
cleaned_data[field_other] = ''
|
cleaned_data[field_other] = ''
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue