From 63fbeff67e25b533f08fcf5e93b03e1a403f5c27 Mon Sep 17 00:00:00 2001 From: Brent O'Connor Date: Thu, 7 Jun 2012 15:40:15 -0700 Subject: [PATCH] Added the CSS class name "required" if the field is required --- bootstrapform/templates/bootstrapform/field.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrapform/templates/bootstrapform/field.html b/bootstrapform/templates/bootstrapform/field.html index db28e3e..7791c28 100644 --- a/bootstrapform/templates/bootstrapform/field.html +++ b/bootstrapform/templates/bootstrapform/field.html @@ -1,5 +1,5 @@ {% load bootstrap %} -
+
{% if field|is_checkbox %}