diff --git a/evapp/forms.py b/evapp/forms.py index ee775b5..2f73f54 100644 --- a/evapp/forms.py +++ b/evapp/forms.py @@ -10,10 +10,10 @@ from .models import Employee # widgets = {'firstdate_employment': DateInput(attrs={'type': 'date'}), # 'firstdate_presence': DateInput(attrs={'type': 'date'}),} -class DummyForm(Form): +class DummyForm(ModelForm): class Meta: model = Employee - fields = '__all__' + fields = [] class FdbForm(ModelForm): '''this base class provides the required css class for all forms''' diff --git a/evapp/templates/evapp/employee_form.html b/evapp/templates/evapp/employee_form.html index 6f0677a..e11b076 100644 --- a/evapp/templates/evapp/employee_form.html +++ b/evapp/templates/evapp/employee_form.html @@ -45,11 +45,7 @@ {% endif %}
-{% if wizard.steps.step1 == 5 %} -Hier könnten ihre Daten stehen. - -{% else %}