Correct the template for checkboxes.
Code style.
First try to add support for "checkbox".