Browse files

Fixed #16382 -- Corrected form wizard docs to use one based step numb…

…er in example template. Thanks, BernhardEssl.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16508 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 8066fce commit c2a48110d47a281b4757401e6aeffd4f41c08825 @jezdez jezdez committed Jul 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/ref/contrib/formtools/form-wizard.txt
View
2 docs/ref/contrib/formtools/form-wizard.txt
@@ -181,7 +181,7 @@ Here's a full example template:
{% extends "base.html" %}
{% block content %}
- <p>Step {{ wizard.steps.current }} of {{ wizard.steps.count }}</p>
+ <p>Step {{ wizard.steps.step1 }} of {{ wizard.steps.count }}</p>
<form action="." method="post">{% csrf_token %}
<table>
{{ wizard.management_form }}

0 comments on commit c2a4811

Please sign in to comment.