summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJohn Moses <john.moses@cerner.com>2015-10-02 09:56:25 -0500
committerTim Graham <timograham@gmail.com>2015-10-02 13:00:48 -0400
commit6a582d35f2781db9e39fed92a3e6a9c0ccdaee60 (patch)
tree1f77e0795f4bb38a64d94e34046b786a91c42d79 /docs
parent1147b55e8b901971bf8caf54c729c9f81496cb7d (diff)
[1.9.x] Fixed #25481 -- Added field.help_text to "Looping over a form's fields" docs.
Backport of ac09d22f7913ff09f98001ff51b783932290e378 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/forms/index.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/topics/forms/index.txt b/docs/topics/forms/index.txt
index c9cce5121f..0217b022d1 100644
--- a/docs/topics/forms/index.txt
+++ b/docs/topics/forms/index.txt
@@ -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 %}