Merge pull request #1411 from heycait/master
Fix typo and misalignment in comments
This commit is contained in:
commit
81a7e71637
|
@ -510,7 +510,7 @@ module SimpleForm
|
|||
end
|
||||
|
||||
# Attempt to guess the better input type given the defined options. By
|
||||
# default alwayls fallback to the user :as option, or to a :select when a
|
||||
# default always fallback to the user :as option, or to a :select when a
|
||||
# collection is given.
|
||||
def default_input_type(attribute_name, column, options)
|
||||
return options[:as].to_sym if options[:as]
|
||||
|
|
Loading…
Reference in New Issue