diff options
| author | John Moses <john.moses@cerner.com> | 2015-10-02 09:56:25 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-10-02 12:52:14 -0400 |
| commit | ac09d22f7913ff09f98001ff51b783932290e378 (patch) | |
| tree | 98148523d13e981765e847a59c85ec30d4d6fe97 | |
| parent | 3f342d74e9196da475dd312cf43eaffec13af964 (diff) | |
Fixed #25481 -- Added field.help_text to "Looping over a form's fields" docs.
| -rw-r--r-- | AUTHORS | 1 | ||||
| -rw-r--r-- | docs/topics/forms/index.txt | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -353,6 +353,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> diff --git a/docs/topics/forms/index.txt b/docs/topics/forms/index.txt index 27a5314347..8eaac49748 100644 --- a/docs/topics/forms/index.txt +++ b/docs/topics/forms/index.txt @@ -631,6 +631,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 %} |
