Merge pull request #611 from dreamfall/patch-1

update readme
This commit is contained in:
Rafael Mendonça França 2012-07-06 05:53:16 -07:00
commit ddf2168bb5
1 changed files with 1 additions and 1 deletions

View File

@ -467,7 +467,7 @@ instance, if you want to wrap date/time/datetime in a div, you can do:
# app/inputs/date_time_input.rb # app/inputs/date_time_input.rb
class DateTimeInput < SimpleForm::Inputs::DateTimeInput class DateTimeInput < SimpleForm::Inputs::DateTimeInput
def input def input
"<div>#{super}</div>".html_safe template.content_tag(:div, super)
end end
end end
``` ```