The loops in the views (html files) are treated as same as the model and the controller please add 2 spaces.

lines 10,15 (2 spaces)
lines 11 and 13 (4 spaces)
line 12 6 spaces