Kaydet (Commit) ac09d22f authored tarafından John Moses's avatar John Moses Kaydeden (comit) Tim Graham

Fixed #25481 -- Added field.help_text to "Looping over a form's fields" docs.

üst 3f342d74
...@@ -353,6 +353,7 @@ answer newbie questions, and generally made Django that much better: ...@@ -353,6 +353,7 @@ answer newbie questions, and generally made Django that much better:
john@calixto.net john@calixto.net
John D'Agostino <john.dagostino@gmail.com> John D'Agostino <john.dagostino@gmail.com>
John Huddleston <huddlej@wwu.edu> John Huddleston <huddlej@wwu.edu>
John Moses <moses.john.r@gmail.com>
John Paulett <john@paulett.org> John Paulett <john@paulett.org>
John Shaffer <jshaffer2112@gmail.com> John Shaffer <jshaffer2112@gmail.com>
Jökull Sólberg Auðunsson <jokullsolberg@gmail.com> Jökull Sólberg Auðunsson <jokullsolberg@gmail.com>
......
...@@ -631,6 +631,9 @@ loop: ...@@ -631,6 +631,9 @@ loop:
<div class="fieldWrapper"> <div class="fieldWrapper">
{{ field.errors }} {{ field.errors }}
{{ field.label_tag }} {{ field }} {{ field.label_tag }} {{ field }}
{% if field.help_text %}
<p class="help">{{ field.help_text|safe }}</p>
{% endif %}
</div> </div>
{% endfor %} {% endfor %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment