       |> Xain.raw
     end
   end
-  def do_panel(_conn, schema) do
+  def do_panel(conn, %{table_for: table_for_opts, contents: contents_opts}, opts) do
+    do_panel(conn, %{table_for: table_for_opts, contents: []}, opts)
+    do_panel(conn, %{table_for: [], contents: contents_opts}, opts)
+  end
+  def do_panel(_conn, _schema) do
     ""
   end
 

    theme_module(conn, Table).theme_panel(conn, schema)
  end

  def do_panel(conn, %{table_for: %{resources: resources, columns: columns, opts: opts}}, table_opts) do
    table(Dict.merge(table_opts, opts)) do
      table_head(columns)
      tbody do

  end

end
