#NEWLINE# def render( self , name , value , attrs = None ) : #NEWLINE# #INDENT# final_attrs = self . build_attrs ( self . attrs , type = 'submit' , name = self . name ) #NEWLINE# return mark_safe ( '<input type="hidden" name="{0}" value="{1}"><span>{1}</span><button{2}>{3}</button>' . format ( name , value , forms . widgets . flatatt ( final_attrs ) , attrs . label ) )