simplify form theme check on datetime formtool