data preview step working (still without actual data preview)
This commit is contained in:
		
							parent
							
								
									f7dc98b10c
								
							
						
					
					
						commit
						11ee044008
					
				|  | @ -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''' | ||||
|  |  | |||
|  | @ -45,11 +45,7 @@ | |||
|   {% endif %} | ||||
|   </p> | ||||
|   </h2> | ||||
| {% if wizard.steps.step1 == 5 %} | ||||
| 
 | ||||
| Hier könnten ihre Daten stehen. | ||||
| 
 | ||||
| {% else %} | ||||
|   <form action="" method="post"> | ||||
|     {% csrf_token %} | ||||
|     <table> | ||||
|  | @ -69,7 +65,6 @@ Hier könnten ihre Daten stehen. | |||
|     <p> | ||||
|       <span style="color: red">*</span> Pflichtfeld | ||||
|     <p> | ||||
| {% endif %} | ||||
|     {% if wizard.steps.prev %} | ||||
|     <button formnovalidate="formnovalidate" name="wizard_goto_step" type="submit" value="{{ wizard.steps.prev }}">Zurück</button> | ||||
|     {% endif %} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue