Browse files

fields in a formset surrounded by table-tags, ugly workaround, should…

… be better implemented with templates for fieldsets
  • Loading branch information...
1 parent 7d22249 commit b0ca2f365b03c223bc328eea028a019f3f12de52 @rstrobl committed Mar 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bootstrap/forms.py
View
2 bootstrap/forms.py
@@ -64,7 +64,7 @@ def render_fields(self, fields, separator=u""):
output.append(self.render_field(field))
- return separator.join(output)
+ return '<table class="zebra-striped">%s</table>' % (separator.join(output), )
def render_field(self, field):
""" Render a named field to HTML. """

0 comments on commit b0ca2f3

Please sign in to comment.