class CustomBuilder < Formular::Builders::Bootstrap3
end
model = OpenStruct.new(ble: "blargh", coll: [OpenStruct.new(name: 1, id: 3), OpenStruct.new(name: 2, id: 5)])
f = CustomBuilder.new(model: model, path_prefix: "blah" ).form(method: :post, action: "/ok") do |f|
concat f.input :ble
f.collection :coll do |g|
concat g.input :name
concat g.input :id
end
end
Consider such example:
The result is:
