From 889564a3c15eb15920be75ca53e0811a5c1c8fba Mon Sep 17 00:00:00 2001 From: Rodney Ewing Date: Wed, 26 Jun 2013 07:36:11 -0700 Subject: [PATCH] do the label thing only for boolean fields --- mediagoblin/templates/mediagoblin/utils/wtforms.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}

-- 2.25.1