1
0
mirror of https://github.com/django/django.git synced 2024-12-23 09:36:06 +00:00

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

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