web/views/formrenderers.py
changeset 4076 2e8637a97b89
parent 4075 e710f4052bd6
child 4083 3b285889b8e9
--- a/web/views/formrenderers.py	Wed Dec 09 12:41:05 2009 +0100
+++ b/web/views/formrenderers.py	Wed Dec 09 12:52:09 2009 +0100
@@ -294,8 +294,7 @@
         if form.parent_form is None:
             w(u'<table class="listing">')
             subfields = [field for field in form.forms[0].fields
-                         if self.display_field(form, field)
-                         and field.is_visible()]
+                         if field.is_visible()]
             if subfields:
                 # main form, display table headers
                 w(u'<tr class="header">')