Adding template for error box.