Add style on error when adding new post