# 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