diff --git a/evapp/forms.py b/evapp/forms.py index 01fe604..ee775b5 100644 --- a/evapp/forms.py +++ b/evapp/forms.py @@ -1,5 +1,5 @@ from django.db import models -from django.forms import ModelForm, DateInput +from django.forms import ModelForm, DateInput, Form from .models import Employee @@ -10,6 +10,11 @@ from .models import Employee # widgets = {'firstdate_employment': DateInput(attrs={'type': 'date'}), # 'firstdate_presence': DateInput(attrs={'type': 'date'}),} +class DummyForm(Form): + class Meta: + model = Employee + fields = '__all__' + class FdbForm(ModelForm): '''this base class provides the required css class for all forms''' required_css_class = 'required' diff --git a/evapp/templates/evapp/employee_form.html b/evapp/templates/evapp/employee_form.html index 7a7780e..6f0677a 100644 --- a/evapp/templates/evapp/employee_form.html +++ b/evapp/templates/evapp/employee_form.html @@ -40,9 +40,16 @@ IT-relevante Angaben {% elif wizard.steps.step1 == 4 %} Office-relevante Angaben + {% elif wizard.steps.step1 == 5 %} + Bestätigungsschritt {% endif %}
+{% if wizard.steps.step1 == 5 %} + +Hier könnten ihre Daten stehen. + +{% else %}