module Formize::Helpers::TagHelper
Public Instance Methods
hard_content_tag(name, options={}, escape=true) { |content| ... }
click to toggle source
Permits to use content_tag in helpers using string concatenation
# File lib/formize/helpers/tag_helper.rb, line 6 def hard_content_tag(name, options={}, escape=true, &block) content = '' yield content return content_tag(name, content.html_safe, options, escape) end