Sha256: 6feae9a2e4c69b0016d50fe3f35bc8bec9c222b111d8832f766cce1137d0d8aa
Contents?: true
Size: 492 Bytes
Versions: 35
Compression:
Stored size: 492 Bytes
Contents
module Kithe::FormHelper # Just a convenience to do simple_form_for with the Kithe::FormBuilder # # Just simple_form_for with a `builder:` arg that defaults to # Kithe::FormBuilder. This pattern is advised by simple_form: # https://github.com/plataformatec/simple_form#custom-form-builder def kithe_form_for(object, *args, &block) options = args.extract_options! options[:builder] ||= Kithe::FormBuilder simple_form_for(object, *(args << options), &block) end end
Version data entries
35 entries across 35 versions & 1 rubygems