as long as it is just a view and not data manipulation, what is wrong with that? You do not have to have template at all. What if your view is list generator with classes? Why having template at all?
And when performance is a concern, you can't beat string interpolation within CoffeeScript heredoc strings.