#NEWLINE# def classes( self ) : #NEWLINE# #INDENT# classes = super ( BaseFieldPanel , self ) . classes ( ) #NEWLINE# if self . bound_field . field . required : #NEWLINE# #INDENT# classes . append ( 'required' ) #NEWLINE# #UNINDENT# if self . bound_field . errors : #NEWLINE# #INDENT# classes . append ( 'error' ) #NEWLINE# #UNINDENT# classes . append ( self . field_type ( ) ) #NEWLINE# return self