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:
parent
8066fced33
commit
c2a48110d4
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue