show checked status in template