Class: Forme::InputsWrapper::Div
- Inherits:
-
Object
- Object
- Forme::InputsWrapper::Div
- Defined in:
- lib/forme.rb
Overview
Use a div tag to wrap the inputs.
Registered as :div.
Instance Method Summary collapse
-
#call(form, opts, &block) ⇒ Object
Wrap the inputs in an ol tag.
Instance Method Details
#call(form, opts, &block) ⇒ Object
Wrap the inputs in an ol tag
1129 1130 1131 |
# File 'lib/forme.rb', line 1129 def call(form, opts, &block) form.tag(:div, &block) end |