Helper to generate checkbox inputs

* Fixes html validation issue by ensuring single input is inside label