add validates,add post partial show