So I read somewhere that your views should not contain any logic in them.
But let's say you pull back a query from your model which displays four boxes two of them need to be checked in the view.
I'd pass this as an array into the view but in the view I would write
if array[someindex] = '1'
writed html code for checked box.
Does that not include logic in the view.
And isn't using a foreach (which I believe every does) in the view using PHP logic?