fixed checkbox sample

- fixed missing `register` variable
- changed one label to use a "for" attribute.