#NEWLINE# @ presentation . render_for ( CardMembers , 'action' ) #NEWLINE# def render_card_members( self , h , comp , * args ) : #NEWLINE# #INDENT# 'Member section view for card\n\n    First members icons,\n    Then icon "more user" if necessary\n    And at the end icon "add user"\n    ' #NEWLINE# with h . div ( class_ = 'members' ) : #NEWLINE# #INDENT# ( h << h . script ( 'YAHOO.kansha.app.hideOverlay();' ) ) #NEWLINE# for m in self . members [ : self . MAX_SHOWN_MEMBERS ] : #NEWLINE# #INDENT# ( h << m . on_answer ( self . remove_member ) . render ( h , model = 'overlay-remove' ) ) #NEWLINE# #UNINDENT# if ( len ( self . members ) > self . MAX_SHOWN_MEMBERS ) : #NEWLINE# #INDENT# ( h << h . div ( self . see_all_members , class_ = 'more' ) ) #NEWLINE# #UNINDENT# ( h << h . div ( self . overlay_add_members , class_ = 'add' ) ) #NEWLINE# #UNINDENT# return h . root