We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A StepsHelper must be made iterable to create useful wizard steps graphics, e.g. in Django (any jinja2 template too):
StepsHelper
<ul class="steps steps-counter"> {% for step in wizard.steps %} <li class="step-item{% if wizard.steps.current == step %} active{% endif %}">{{ step }}</li> {% endfor %} </ul>
You need to iter over the wizard steps to do that, but the StepsHelper class is not iterable.
I may add a simple PR to do that?
The text was updated successfully, but these errors were encountered:
make StepsHelper iterable
2048122
fixes jazzband#275
It could be a workaround (or a solution?) to use for step in wizard.steps.all?
for step in wizard.steps.all
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
A
StepsHelper
must be made iterable to create useful wizard steps graphics, e.g. in Django (any jinja2 template too):You need to iter over the wizard steps to do that, but the
StepsHelper
class is not iterable.I may add a simple PR to do that?
The text was updated successfully, but these errors were encountered: