add NoteForm to view and template