Forgot to send some files 💣

This commit is contained in:
Rafael Mendonça França 2014-03-11 19:53:29 -03:00
parent 0fc7ea87da
commit 86d0923ddc
4 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ module SimpleForm
module Components
# Needs to be enabled in order to do automatic lookups.
module Hints
def hint(context = nil)
def hint(wrapper_options = nil)
@hint ||= begin
hint = options[:hint]

View File

@ -2,7 +2,7 @@ module SimpleForm
module Components
# Needs to be enabled in order to do automatic lookups.
module Pattern
def pattern(context = nil)
def pattern(wrapper_options = nil)
input_html_options[:pattern] ||= pattern_source
nil
end

View File

@ -2,7 +2,7 @@ module SimpleForm
module Components
# Needs to be enabled in order to do automatic lookups.
module Placeholders
def placeholder(context = nil)
def placeholder(wrapper_options = nil)
input_html_options[:placeholder] ||= placeholder_text
nil
end

View File

@ -2,7 +2,7 @@ module SimpleForm
module Components
# Needs to be enabled in order to do automatic lookups.
module Readonly
def readonly(context = nil)
def readonly(wrapper_options = nil)
if readonly_attribute? && !has_readonly?
input_html_options[:readonly] ||= true
input_html_classes << :readonly