Sha256: b7ffed5f7c0341ea7c427da427aa77c9ff3fec8f5833f3def1f63923361fed65
Contents?: true
Size: 382 Bytes
Versions: 13
Compression:
Stored size: 382 Bytes
Contents
module Formtastic module Inputs module Base module Errors def error_sentence_html error_class = options[:error_class] || builder.default_inline_error_class template.content_tag(:div, template.content_tag(:p, Formtastic::Util.html_safe(errors.to_sentence.html_safe)), :class => error_class) end end end end end
Version data entries
13 entries across 13 versions & 2 rubygems