summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2011-07-04 16:20:29 +0000
committerJannis Leidel <jannis@leidel.info>2011-07-04 16:20:29 +0000
commitc2a48110d47a281b4757401e6aeffd4f41c08825 (patch)
treee26ea94901526eef94e2539b1814cc7e0a40aa41 /docs
parent8066fced3398405c5c2153ca33b3441ef7e1b2dc (diff)
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
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/formtools/form-wizard.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/contrib/formtools/form-wizard.txt b/docs/ref/contrib/formtools/form-wizard.txt
index b0e685e5a9..aec18bfaf4 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 %}
- <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 }}