Replaced |is_checkbox filter which a check against to field type.

The `field` context variable is not always provided to this template,
which was causing false positives in those instances, because the
filter would throw an exception.