Browse files

Merge pull request #611 from dreamfall/patch-1

update readme
  • Loading branch information...
2 parents f5ddf6a + a731551 commit ddf2168bb5727f60fa499a0fbb515b12b9d7b117 @rafaelfranca rafaelfranca committed Jul 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -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
+ template.content_tag(:div, super)
end
end
```

0 comments on commit ddf2168

Please sign in to comment.