Fixed #23955 -- Corrected formset fields in topic guide.
This commit is contained in:
parent
b6ea059b4a
commit
f0c7a6f360
|
@ -615,9 +615,9 @@ If you manually render fields in the template, you can render
|
||||||
<form method="post" action="">
|
<form method="post" action="">
|
||||||
{{ formset.management_form }}
|
{{ formset.management_form }}
|
||||||
{% for form in formset %}
|
{% for form in formset %}
|
||||||
{{ form.id }}
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>{{ form.title }}</li>
|
<li>{{ form.title }}</li>
|
||||||
|
<li>{{ form.pub_date }}</li>
|
||||||
{% if formset.can_delete %}
|
{% if formset.can_delete %}
|
||||||
<li>{{ form.DELETE }}</li>
|
<li>{{ form.DELETE }}</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue