Method: Input::Form#input
- Defined in:
- lib/input.rb
#input(type, attributes = {}, &block) ⇒ Object
Create input tag, build it, and yield to block if needed
61 62 63 64 |
# File 'lib/input.rb', line 61 def input(type, attributes={}, &block) tag = Input.new(self, type, attributes) build(tag, &block) end |