Parent

Included Modules

ActionView::Helpers::FormBuilder

Public Instance Methods

label_with_gettext(method, text = nil, options = {}) click to toggle source
# File lib/gettext_rails/action_view/form_builder.rb, line 19
def label_with_gettext(method, text = nil, options = {})
  text ||= s_("#{@object.class}|#{method.to_s.humanize}")
  @template.label(@object_name, method, text, options.merge(:object => @object))
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.