Class: Forme::InputsWrapper::FieldSetOL

Inherits:
Forme::InputsWrapper show all
Defined in:
lib/forme.rb

Overview

Use a fieldset and an ol tag to wrap the inputs.

Registered as :fieldset_ol.

Instance Method Summary collapse

Instance Method Details

#call(form, opts) ⇒ Object

Wrap the inputs in an ol tag



1105
1106
1107
# File 'lib/forme.rb', line 1105

def call(form, opts)
  super(form, opts){form.tag_(:ol){yield}}
end