         template.generate_row(form, item, template_options)
       %FormNested{} ->
         Formex.View.Nested.generate(form, item, template, template_options)
+      %FormCollection{} ->
+        Formex.View.Collection.formex_collection(form, item_name, options)
     end
   end
 

  defstruct [:form, :item, :template, :template_options, :fun_item]
  @type t :: %Formex.View.Collection{}

  def formex_collection(form, item_name, fun, fun_item, options \\ []) do
    item             = Enum.find(form.items, &(&1.name == item_name))
    template         = Formex.View.get_template(form, options)

    content_tag(:div, html, class: "formex-collection-items")
  end

  def formex_collection_add(form_collection, label \\ "Add", class \\ "") do
    button = Formex.Button.create_button(:button, :add, label: label, phoenix_opts: [
      class: "formex-collection-add "<>class
    ])
