Class: ActionView::Helpers::FormBuilder

### Home Classes Methods

### In Files

- lib/gettext_rails/action_view/form_builder.rb

### Parent

Object

### Methods

- #label_with_gettext

### Included Modules

- GetText

### Class/Module Index

Quicksearch

- ActionView
- ActionView::Helpers
- ActionView::Helpers::FormBuilder
- ActionController
- ActionController::Base
- GetText
- GetTextRails

No matching classes.

# 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.