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 308
308:       def label_with_gettext(method, text = nil, options = {})
309:         text ||= s_("#{@object.class}|#{method.to_s.humanize}")
310:         @template.label(@object_name, method, text, options.merge(:object => @object))
311:       end

[Validate]