Adding HTML macro for validation errors