Hotel/hotel/rooms/forms.py

17 lines
356 B
Python
Raw Normal View History

from django.forms import ModelForm
from django.utils.translation import gettext_lazy as _
from .models import *
class ClientForm(ModelForm):
class Meta:
model = Client
fields = '__all__'
2019-01-22 20:28:25 +01:00
labels = {
'id_number': _('Numer dowodu '),
'name': _('Imię '),
'surname': _('Nazwisko ')
2019-01-22 20:28:25 +01:00
}