Split error messages to view templates and pad out contents