class Playbook::PbCheckbox::Checkbox
def checkbox_label_status
def checkbox_label_status error ? "negative" : nil end
def checked_class
def checked_class checked ? "on" : "off" end
def checked_html
def checked_html checked ? "checked='true'" : nil end
def classname
def classname generate_classname("pb_checkbox_kit", checked_class) + indeterminate_class + error_class end
def error_class
def error_class error ? " error" : "" end
def indeterminate_class
def indeterminate_class indeterminate ? " indeterminate" : "" end
def input
def input check_box_tag(name, value, checked, input_options.merge(disabled: disabled)) end