Use a <fieldset> tag to wrap the inputs.
Registered as :bs3.
Public Instance methods
call(form, opts, &block)
[show source]
# File lib/forme/bs3.rb 222 def call(form, opts, &block) 223 attr = opts[:attr] ? opts[:attr].dup : {} 224 Forme.attr_classes(attr, 'inputs') 225 if legend = opts[:legend] 226 form.tag(:fieldset, attr) do 227 form.tag(:legend, opts[:legend_attr], legend) 228 yield 229 end 230 else 231 form.tag(:fieldset, attr, &block) 232 end 233 end