Actually this `endfor` must be moved after `</li>`