From: Rodney Ewing Date: Wed, 26 Jun 2013 14:36:11 +0000 (-0700) Subject: do the label thing only for boolean fields X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=889564a3c15eb15920be75ca53e0811a5c1c8fba;p=mediagoblin.git do the label thing only for boolean fields --- diff --git a/mediagoblin/templates/mediagoblin/utils/wtforms.html b/mediagoblin/templates/mediagoblin/utils/wtforms.html index f522172f..635d4a41 100644 --- a/mediagoblin/templates/mediagoblin/utils/wtforms.html +++ b/mediagoblin/templates/mediagoblin/utils/wtforms.html @@ -47,7 +47,7 @@ {% endfor %} {%- endif %} {%- if field.description %} - {% if field.label.text == '' %} + {% if and field.type == 'BooleanField' %} {% else %}

{{ field.description|safe }}