module FormTranslation::ViewHelper

Public Instance Methods

simple_translated_form_for(object, *args, &block) click to toggle source
# File lib/form_translation/view_helper.rb, line 10
def simple_translated_form_for(object, *args, &block)
  options = args.extract_options!
    simple_form_for(object,
      *(args << options.merge(builder: FormTranslation::CustomFormBuilder)),
      &block)
end
simple_translated_nested_form_for(object, *args, &block) click to toggle source
# File lib/form_translation/view_helper.rb, line 18
def simple_translated_nested_form_for(object, *args, &block)
  options = args.extract_options!
  simple_nested_form_for(object,
    *(args << options.merge(builder: FormTranslation::NestedCustomFormBuilder)),
    &block)
end