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
This commit is contained in:
Jannis Leidel 2011-07-04 16:20:29 +00:00
parent 8066fced33
commit c2a48110d4
1 changed files with 1 additions and 1 deletions

View File

@ -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 }}