appended `html_safe` for inline error messages

This commit is contained in:
Edison 2012-02-11 05:30:58 -02:00
parent 6077895e2e
commit 312796b1ee
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ module SimpleForm
protected
def error_text
"#{options[:error_prefix]} #{errors.send(error_method)}".lstrip
"#{options[:error_prefix]} #{errors.send(error_method)}".lstrip.html_safe
end
def error_method