Use private in disabled helpers, as in the others
This commit is contained in:
parent
6675ee1ea8
commit
04778b99b4
|
@ -1,6 +1,8 @@
|
|||
module SimpleForm
|
||||
module Helpers
|
||||
module Disabled
|
||||
private
|
||||
|
||||
def has_disabled?
|
||||
options[:disabled] == true
|
||||
end
|
||||
|
@ -10,4 +12,4 @@ module SimpleForm
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -13,8 +13,8 @@ module SimpleForm
|
|||
include SimpleForm::Components::Hints
|
||||
include SimpleForm::Components::HTML5
|
||||
include SimpleForm::Components::LabelInput
|
||||
include SimpleForm::Components::MinMax
|
||||
include SimpleForm::Components::Maxlength
|
||||
include SimpleForm::Components::MinMax
|
||||
include SimpleForm::Components::Pattern
|
||||
include SimpleForm::Components::Placeholders
|
||||
include SimpleForm::Components::Readonly
|
||||
|
@ -149,7 +149,6 @@ module SimpleForm
|
|||
|
||||
I18n.t(lookups.shift, :scope => :"simple_form.#{namespace}", :default => lookups).presence
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue