renders error message partial