Added error box to the base template