#NEWLINE# def put_button( self , ar , obj , text , data , **kw ) : #NEWLINE# #INDENT# put_data = dict ( ) #NEWLINE# for ( k , v ) in list ( data . items ( ) ) : #NEWLINE# #INDENT# fld = obj . _meta . get_field ( k ) #NEWLINE# fld . _lino_atomizer . value2dict ( v , put_data , obj ) #NEWLINE# #UNINDENT# js = ( 'Lino.put(%s,%s,%s)' % ( py2js ( ar . requesting_panel ) , py2js ( obj . pk ) , py2js ( put_data ) ) ) #NEWLINE# uri = self . js2url ( js ) #NEWLINE# return self . href_button ( uri , text , ** kw )