#NEWLINE# def save_note( self , request , order ) : #NEWLINE# #INDENT# form = self . get_order_note_form ( ) #NEWLINE# if form . is_valid ( ) : #NEWLINE# #INDENT# form . save ( ) #NEWLINE# messages . success ( self . request , _ ( 'Note saved' ) ) #NEWLINE# return self . reload_page ( fragment = 'notes' ) #NEWLINE# #UNINDENT# ctx = self . get_context_data ( note_form = form , active_tab = 'notes' ) #NEWLINE# return self . render_to_response ( ctx )