web/formfields.py
branchtls-sprint
changeset 1793 fdac26e003e7
parent 1758 d46f59e5efd3
child 1803 abf40bcb5967
--- a/web/formfields.py	Wed May 13 12:15:03 2009 +0200
+++ b/web/formfields.py	Wed May 13 15:55:08 2009 +0200
@@ -247,6 +247,8 @@
     def render(self, form, renderer):
         format_field = self.get_format_field(form)
         if format_field:
+            # XXX we want both fields to remain vertically aligned
+            format_field.widget.attrs['style'] = 'display: block'
             result = format_field.render(form, renderer)
         else:
             result = u''