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:
parent
6077895e2e
commit
312796b1ee
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue