There has to be some code in the view but I tend to just like to do pass it in a 'print ready' format so there's nothing really going on in the view except the presentation part. An if statement is often an indicator I'm doing too much in the view. Not always ofc, sometimes it makes sense to see if the count is 1 or >1 so you can plural a word, stuff like that is OK in the view. These are just my personal heuristics of course