Class ActionView::Helpers::FormBuilder
In: lib/gettext/rails.rb
Parent: Object

Methods

Included Modules

GetText

Public Instance methods

[Source]

     # File lib/gettext/rails.rb, line 292
292:       def label_with_gettext(method, text = nil, options = {})
293:         text ||= s_("#{@object.class}|#{method.to_s.humanize}")
294:         @template.label(@object_name, method, text, options.merge(:object => @object))
295:       end

[Validate]