Permalink
Browse files

Merge pull request #57 from novagile/master

Update documentation
  • Loading branch information...
2 parents 0510dd7 + d76b994 commit 51d603037458ef5b180ea430ec3f4d7529be778f @brutasse brutasse committed Nov 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/bootstrap.rst
View
@@ -48,8 +48,8 @@ What you have to do is to create those two templates:
<div class="controls {{ classes }} field-{{ field.name }}">
{% block widget %}{% formfield field %}{% endblock %}
{% block errors %}{% include "floppyforms/errors.html" with errors=field.errors %}{% endblock %}
- {% block help_text %}{% if help_text %}
- <p class="help-block">{{ help_text }}</p>
+ {% block help_text %}{% if field.help_text %}
+ <p class="help-block">{{ field.help_text }}</p>
{% endif %}{% endblock %}
{% block hidden_fields %}{% for field in hidden_fields %}{{ field.as_hidden }}{% endfor %}{% endblock %}
</div><!--- .controls -->

0 comments on commit 51d6030

Please sign in to comment.