render boolean attribute as checkbox