def int_from_bool_as_string(subject):
    return bool_from_string(subject) and 1 or 0
Creates HTML input, depending of the entry type
dataset/ETHPy150Open openstack/python-monascaclient/monascaclient/openstack/common/strutils.py/int_from_bool_as_string--crossover with--dataset/ETHPy150Open OpenMDM/OpenMDM/public_gate/models.py/RecipeForm.display_input