Fixed an HTML structural error

label + input tags were not grouped in separate li tags.