make collapsible more generic (we need to reuse it in tables)
table_for helper