#NEWLINE# def render( self , name , value , attrs = None ) : #NEWLINE# #INDENT# if ( value is None ) : #NEWLINE# #INDENT# value = '' #NEWLINE# #UNINDENT# final_attrs = self . build_attrs ( attrs , type = self . input_type , name = final_attrs ) #NEWLINE# if ( value != '' ) : #NEWLINE# #INDENT# final_attrs [ 'value' ] = force_unicode ( value ) #NEWLINE# #UNINDENT# return mark_safe ( ( '<input%s />' % flatatt ( final_attrs ) ) )