#NEWLINE# def list_group( self , items = [ ] , * args , **kwargs ) : #NEWLINE# #INDENT# 'Bootstrap List Group - http://getbootstrap.com/components/#list-group\n\n        items (optional) - list of text items\n        ' #NEWLINE# cls = kwargs . get ( 'cls' , '' ) . split ( ) #NEWLINE# cls . append ( 'list-group' ) #NEWLINE# kwargs [ 'cls' ] = cls #NEWLINE# res = self . stack ( * args , typ = 'ul' , ** kwargs ) #NEWLINE# if items : #NEWLINE# #INDENT# with res : #NEWLINE# #INDENT# for item in items : #NEWLINE# #INDENT# self . list_group_item ( text = item ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return res