As an example, let's say there's a Tshirt model on a shopping site, and it will have "summary" markup with a thumbnail, name and price:
<div>
<a href="detailspage">Awesome TShirt!</a>
<img src="thumbnail.jpg" />
<span class="price">$55.99</span>
</div>
Since this will be on many different pages, I don't want to have to type this out over and over in different templates. What I would prefer is a call in the template to a method like tshirt.show_summary() that would return this html.
But if we put it in the model, we're mixing our presentation and model layers.
Is there any workaround for this, or do we just suck it up and violate either MTV or DRY?