module SimpleForm::Helpers::Disabled
Private Instance Methods
disabled_class()
click to toggle source
# File lib/simple_form/helpers/disabled.rb, line 11 def disabled_class :disabled if has_disabled? end
has_disabled?()
click to toggle source
# File lib/simple_form/helpers/disabled.rb, line 7 def has_disabled? options[:disabled] == true end