5 info_table.mas - a mason component to display information in a table format
15 Title to use for the table.
19 set to true if this table is contained in another table, styles will be subtly changed to reflect its subtableness.
23 the attributes to use for each table cell.
27 if true, draws a border. Default is on.
31 a hashref with the data to be displayed in the info table.
37 <& /page/info_table.mas, data => { name => $name, description => $desc } &>
41 Lukas Mueller. Based on code by R. Buels.
57 <% info_table_html( %mapped_args, @$data ) %>
62 __caption => $caption,
63 __multicol => $multicol,
64 __tableattrs => $tableattrs,
69 $data ||= [ split /^\s*\-{2,}\s*$/m, $m->content ];
73 use CXGN::Page::FormattingHelpers 'info_table_html';