Browse Source

Added help_text to checkbox render

Jeremy Stretch 9 years ago
parent
commit
0b1df1e60d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      netbox/templates/utilities/render_field.html

+ 3 - 0
netbox/templates/utilities/render_field.html

@@ -8,6 +8,9 @@
                     {{ field }}
                     {{ field.label }}
                 </label>
+                {% if field.help_text %}
+                    <span class="help-block">{{ field.help_text|safe }}</span>
+                {% endif %}
             </div>
         </div>
     {% elif field|widget_type == 'radioselect' %}