move new-events html to erb file and fix errors close #21