]> wagnertech.de Git - SVBaL.git/blobdiff - python/eh_util/eh_app/forms.py
pydev-s6git
[SVBaL.git] / python / eh_util / eh_app / forms.py
index cc438ab9e0b71e1172b7316b3f5a4bd92a52765a..396bbe268aed8b952d24c68f42ec52c771f59797 100644 (file)
@@ -16,6 +16,7 @@ class TextInputForm(forms.Form):
         widget=forms.Textarea,
     )
 '''
+from django.db.models.fields import BooleanField
 '''
 - Doku zu Forms:
 https://docs.djangoproject.com/en/2.2/topics/forms/
@@ -26,3 +27,28 @@ class KassenbriefForm(forms.Form):
     briefpapier   = forms.FileField(label='Briefpapier ändern:', required=False)
     basisbeitrag  = forms.IntegerField()
     zusatzbeitrag = forms.IntegerField(label="Beitrag für Zusatzgrundstück")
+
+class EhmeldungForm(forms.Form):
+    VorZuname = forms.CharField(
+        label = "Vor- und Zuname",)
+    VorZunamePartner = forms.CharField(
+        label = "Vor- und Zuname Partner",
+        required=False)
+    Wohnanschrift = forms.CharField(label = "Wohnanschrift (Str, PLZ, Ort)")
+    Telefon = forms.CharField(
+        label = "Telefon",
+        required=False)
+    Email = forms.CharField(
+        label = "E-Mail",
+        required=False)
+    Geburtsdatum = forms.CharField(
+        label = "Geburtsdatum",
+        required=False)
+    VersichertesObjekt = forms.CharField(
+        label = "Versichertes Objekt",
+        required=False)
+    AnzahlWohnungen = forms.IntegerField(initial=1, label="Anzahl Wonungen")
+    Selbstgenutzt = forms.BooleanField(label="Selbstgenutzt", required=False)
+    Eigentumswohnung = forms.BooleanField(label="Eigentumswohnung", required=False)
+    Gewerblich = forms.BooleanField(label="(teilw.) gewerblich genutzt", required=False)
+    
\ No newline at end of file