cosmetic template changes
This commit is contained in:
parent
82b137da5a
commit
ae051b2b48
|
@ -32,7 +32,6 @@
|
|||
</h1>
|
||||
<h2>
|
||||
<p>Schritt {{ wizard.steps.step1 }} von {{ wizard.steps.count }}</p>
|
||||
Choice: {{choice}} Datatable: {{datatable}}
|
||||
<p>{% if wizard.steps.step1 == 1 %}
|
||||
Angaben zur Person {% endif %}
|
||||
{% if choice == 'IN' %}
|
||||
|
@ -61,8 +60,8 @@
|
|||
<form action="" method="post">
|
||||
{% csrf_token %}
|
||||
<table>
|
||||
{% if choice %}
|
||||
Du hast {{choice}} ausgewählt.
|
||||
{% if wizard.steps.step1 > 1 %}
|
||||
Du hast den Prozess "{{choice_string}}" ausgewählt.
|
||||
{% endif %}
|
||||
{{ wizard.management_form }}
|
||||
{% if wizard.form.forms %}
|
||||
|
|
|
@ -65,7 +65,9 @@ class EvaFormView(CookieWizardView):
|
|||
|
||||
#print('GETCONTEXT')
|
||||
context = super().get_context_data(form=form, **kwargs)
|
||||
context.update({'choice': self.choice})
|
||||
context.update({'choice': self.choice,
|
||||
'choice_string': TYPE_CHOICES[self.choice]})
|
||||
|
||||
if (self.steps.step1 == 5 or (self.choice != 'IN' and self.steps.step1 == 3)):
|
||||
context.update({'data': self.beautify_data(self.get_all_cleaned_data()),
|
||||
'datatable': True,})
|
||||
|
|
Loading…
Reference in New Issue