update readme

This commit is contained in:
Vasili Kachalko 2012-07-06 15:01:00 +03:00
parent f5ddf6a9e0
commit fe60ddf9f7
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
class DateTimeInput < SimpleForm::Inputs::DateTimeInput
def input
"<div>#{super}</div>".html_safe
content_tag(:div, super)
end
end
```