#NEWLINE# def get_context_data( self , **kwargs ) : #NEWLINE# #INDENT# context = super ( ModalFormMixin , self ) . get_context_data ( ** kwargs ) #NEWLINE# if self . request . is_ajax ( ) : #NEWLINE# #INDENT# context [ 'hide' ] = True #NEWLINE# #UNINDENT# if ( ADD_TO_FIELD_HEADER in self . request . META ) : #NEWLINE# #INDENT# context [ 'add_to_field' ] = self . request . META [ ADD_TO_FIELD_HEADER ] #NEWLINE# #UNINDENT# return context