Class: Forme::InputsWrapper::FieldSetOL
- Inherits:
-
Forme::InputsWrapper
- Object
- Forme::InputsWrapper
- Forme::InputsWrapper::FieldSetOL
- Defined in:
- lib/forme/transformers/inputs_wrapper.rb
Overview
Use a <fieldset> and an <ol> tag to wrap the inputs.
Registered as :fieldset_ol.
Instance Method Summary collapse
-
#call(form, opts) ⇒ Object
Wrap the inputs in a <fieldset> and a <ol> tag.
Instance Method Details
#call(form, opts) ⇒ Object
Wrap the inputs in a <fieldset> and a <ol> tag.
34 35 36 |
# File 'lib/forme/transformers/inputs_wrapper.rb', line 34 def call(form, opts) super(form, opts){form.tag_(:ol){yield}} end |