fix generic project view

fix csrf error in project/new