1
0
Fork 0
mirror of https://github.com/heartcombo/simple_form.git synced 2022-11-09 12:19:26 -05:00

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

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