From ac09d22f7913ff09f98001ff51b783932290e378 Mon Sep 17 00:00:00 2001 From: John Moses Date: Fri, 2 Oct 2015 09:56:25 -0500 Subject: [PATCH] Fixed #25481 -- Added field.help_text to "Looping over a form's fields" docs. --- AUTHORS | 1 + docs/topics/forms/index.txt | 3 +++ 2 files changed, 4 insertions(+) diff --git a/AUTHORS b/AUTHORS index db08e662cc..d51c84d3d6 100644 --- a/AUTHORS +++ b/AUTHORS @@ -353,6 +353,7 @@ answer newbie questions, and generally made Django that much better: john@calixto.net John D'Agostino John Huddleston + John Moses John Paulett John Shaffer Jökull Sólberg Auðunsson 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:
{{ field.errors }} {{ field.label_tag }} {{ field }} + {% if field.help_text %} +

{{ field.help_text|safe }}

+ {% endif %}
{% endfor %}