# File lib/formtastic-bootstrap/inputs/base/errors.rb, line 12 def error_sentence_html(inline_or_block) error_class = if inline_or_block == :inline options[:error_class] || builder.default_inline_error_class else options[:error_class] || builder.default_block_error_class end template.content_tag(:span, Formtastic::Util.html_safe(errors.to_sentence.html_safe), :class => error_class) end