added view helper `showMessages`