Add the current step and total steps of a wizard in the template context.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -168,6 +168,8 @@ class DocumentCreateWizard(SessionWizardView):
|
||||
'submit_label': _('Next step'),
|
||||
'submit_icon_class': icon_wizard_submit,
|
||||
'title': _('Document upload wizard'),
|
||||
'wizard_step': wizard_step,
|
||||
'wizard_steps': WizardStep.get_all(),
|
||||
})
|
||||
return context
|
||||
|
||||
|
||||
Reference in New Issue
Block a user