summaryrefslogtreecommitdiffstats
path: root/templates/w3/layout/help_text.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/w3/layout/help_text.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/w3/layout/help_text.html b/templates/w3/layout/help_text.html
new file mode 100644
index 0000000..3b5695c
--- /dev/null
+++ b/templates/w3/layout/help_text.html
@@ -0,0 +1,7 @@
+{% if field.help_text %}
+ {% if help_text_inline %}
+ <span id="hint_{{ field.auto_id }}" class="text-muted">{{ field.help_text|safe }}</span>
+ {% else %}
+ <small id="hint_{{ field.auto_id }}" class="form-text text-muted">{{ field.help_text|safe }}</small>
+ {% endif %}
+{% endif %}