class Forme::InputsWrapper::FieldSetOL

  1. lib/forme/transformers/inputs_wrapper.rb
Superclass: InputsWrapper

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

Registered as :fieldset_ol.

Methods

Public Instance

  1. call

Public Instance methods

call (form, opts)

Wrap the inputs in a <fieldset> and a <ol> tag.

[show source]
# File lib/forme/transformers/inputs_wrapper.rb, line 33
def call(form, opts)
  super(form, opts){form.tag_(:ol){yield}}
end