module SimpleForm::Helpers::Disabled

Private Instance Methods

disabled_class() click to toggle source
# File lib/simple_form/helpers/disabled.rb, line 10
def disabled_class
  :disabled if has_disabled?
end
has_disabled?() click to toggle source
# File lib/simple_form/helpers/disabled.rb, line 6
def has_disabled?
  options[:disabled] == true
end