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

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