This is insignificant, but helpful. Removes the description <div> element when there is no description. Makes things look a little more concise. Index: nevow/freeform.py =================================================================== RCS file: /cvs/Quotient/nevow/freeform.py,v retrieving revision 1.108 diff -u -r1.108 freeform.py --- nevow/freeform.py 11 Feb 2004 01:33:09 -0000 1.108 +++ nevow/freeform.py 12 Feb 2004 17:31:20 -0000 @@ -221,12 +221,14 @@ if data.typedValue.getAttribute('compact'): return theslotfilled - return [ + ayb = [ label(_class="freeform-label")[ data.label ], theslotfilled, # freeform-input span(_class="freeform-error")[ errormessage ], - div(_class="freeform-description")[ data.description ], ] + if data.description: + ayb[div(_class="freeform-description")[ data.description ]] + return ayb def input(self, context, slot, data, name, value): raise NotImplementedError, "Implement in subclass" -- Alex Levy WWW: http://mesozoic.geecs.org "Never let your sense of morals prevent you from doing what is right." -- Salvor Hardin, Isaac Asimov's _Foundation_