fix for a typo

`endfor` should be inside the table tag