Commit a9b62189 authored by John Moses's avatar John Moses Committed by Tim Graham
Browse files

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

Backport of ac09d22f from master
parent 2a8988c3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -341,6 +341,7 @@ answer newbie questions, and generally made Django that much better:
    john@calixto.net
    John D'Agostino <john.dagostino@gmail.com>
    John Huddleston <huddlej@wwu.edu>
    John Moses <moses.john.r@gmail.com>
    John Paulett <john@paulett.org>
    John Shaffer <jshaffer2112@gmail.com>
    Jökull Sólberg Auðunsson <jokullsolberg@gmail.com>
+3 −0
Original line number Diff line number Diff line
@@ -635,6 +635,9 @@ loop:
        <div class="fieldWrapper">
            {{ field.errors }}
            {{ field.label_tag }} {{ field }}
            {% if field.help_text %}
            <p class="help">{{ field.help_text|safe }}</p>
            {% endif %}
        </div>
    {% endfor %}