extract notes_form into a partial