From c2a48110d47a281b4757401e6aeffd4f41c08825 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Mon, 4 Jul 2011 16:20:29 +0000 Subject: [PATCH] Fixed #16382 -- Corrected form wizard docs to use one based step number in example template. Thanks, BernhardEssl. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16508 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/contrib/formtools/form-wizard.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/contrib/formtools/form-wizard.txt b/docs/ref/contrib/formtools/form-wizard.txt index b0e685e5a9a..aec18bfaf48 100644 --- a/docs/ref/contrib/formtools/form-wizard.txt +++ b/docs/ref/contrib/formtools/form-wizard.txt @@ -181,7 +181,7 @@ Here's a full example template: {% extends "base.html" %} {% block content %} -

Step {{ wizard.steps.current }} of {{ wizard.steps.count }}

+

Step {{ wizard.steps.step1 }} of {{ wizard.steps.count }}

{% csrf_token %} {{ wizard.management_form }}