walidacja formularza

This commit is contained in:
Hokan 2019-01-22 20:28:25 +01:00
parent e36992bc3f
commit 6eb98b1b22
2 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@ class ClientForm(ModelForm):
model = Client
fields = '__all__'
labels = {
'id_number': _('Numer dowodu: '),
'name': _('Imię: '),
'surname': _('Nazwisko: ')
'id_number': 'Numer dowodu: ',
'name': 'Imię: ',
'surname': 'Nazwisko: '
}