#NEWLINE# def format_output( self , rendered_widgets ) : #NEWLINE# #INDENT# '\n        This output will yeild all widgets grouped in a un-ordered list\n        ' #NEWLINE# ret = [ '<ul class="formfield">' ] #NEWLINE# for ( i , field ) in enumerate ( self . fields ) : #NEWLINE# #INDENT# label = self . format_label ( self . fields [ field ] , i ) #NEWLINE# help_text = self . format_help_text ( self . fields [ field ] , i ) #NEWLINE# ret . append ( ( '<li>%s %s %s</li>' % ( label , help_text , rendered_widgets [ i ] ) ) ) #NEWLINE# #UNINDENT# ret . append ( '</ul>' ) #NEWLINE# return '' . join ( rendered_widgets )