class Playbook::PbRadio::Radio
def alignment_class
def alignment_class alignment == "vertical" ? " vertical" : "" end
def body_status
def body_status error ? "negative" : nil end
def classname
def classname generate_classname("pb_radio_kit") + error_class + alignment_class end
def error_class
def error_class error ? " error" : "" end
def input
def input radio_button_tag(name, value, checked, input_options.merge(disabled: disabled || input_options[:disabled])) end
def selected
def selected "checked" if checked == true end