Filter for printing a dynamic form with content panes (as_tabs)