Class: Merb::Helpers::Form::Builder::Base
- Inherits:
-
Object
- Object
- Merb::Helpers::Form::Builder::Base
- Defined in:
- lib/merb_helpers_monkey.rb
Instance Method Summary collapse
-
#bound_text_area(method, attrs = {}) ⇒ Object
– def bound_text_area(method, attrs = }) name = “# update_bound_controls(method, attrs, “text_area”) unbound_text_area(control_value(method), {:name => name.merge(attrs)) end ++.
Instance Method Details
#bound_text_area(method, attrs = {}) ⇒ Object
– def bound_text_area(method, attrs = {})
name = "#{@name}[#{method}]"
update_bound_controls(method, attrs, "text_area")
unbound_text_area(control_value(method), {:name => name}.merge(attrs))
end ++
52 53 54 55 56 |
# File 'lib/merb_helpers_monkey.rb', line 52 def bound_text_area(method, attrs = {}) name = control_name(method) update_bound_controls(method, attrs, "text_area") unbound_text_area(control_value(method), {:name => name}.merge(attrs)) end |