Simple variant of the checkboxes and radio buttons on http://wtfforms.com/ . Works with just an input element and a label:
<input id="my_checkbox" name="my_checkbox" value="test" type="checkbox"> <label for="my_checkbox">My custom checkbox</label>
By @koenkivits and @pixelambacht