style form error messages and fix static pages spec