Hotel/hotel/rooms/forms.py

16 lines
373 B
Python
Raw Normal View History

from django.forms import ModelForm
from django.utils.translation import gettext_lazy as _
from .models import *
from django import forms
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: '
}