Sha256: 857f75b123fc98b1e6e8f180e791127944f41249c9e1db3555f4ea3f650647ab

Contents?: true

Size: 396 Bytes

Versions: 16

Compression:

Stored size: 396 Bytes

Contents

# frozen_string_literal: true

module ActionView
  module Helpers
    module FormTagHelper
      alias orig_form_tag form_tag
      def form_tag(url_for_options = {}, options = {}, &block)
        options[:enforce_utf8] = false
        orig_form_tag(url_for_options, options, &block)
      end
    end
  end
end

ActionView::Base.field_error_proc = proc do |html_tag, _|
  html_tag.html_safe
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
lcms-engine-0.5.5 config/initializers/form_tag.rb
lcms-engine-0.5.4 config/initializers/form_tag.rb
lcms-engine-0.5.3 config/initializers/form_tag.rb
lcms-engine-0.5.2 config/initializers/form_tag.rb
lcms-engine-0.5.1 config/initializers/form_tag.rb
lcms-engine-0.5.0 config/initializers/form_tag.rb
lcms-engine-0.4.2 config/initializers/form_tag.rb
lcms-engine-0.4.1 config/initializers/form_tag.rb
lcms-engine-0.4.0 config/initializers/form_tag.rb
lcms-engine-0.3.1 config/initializers/form_tag.rb
lcms-engine-0.1.4 config/initializers/form_tag.rb
lcms-engine-0.3.0 config/initializers/form_tag.rb
lcms-engine-0.1.3 config/initializers/form_tag.rb
lcms-engine-0.2.0 config/initializers/form_tag.rb
lcms-engine-0.1.2 config/initializers/form_tag.rb
lcms-engine-0.1.0 config/initializers/form_tag.rb