9 <&| info_section.mas, title => 'Search Results',
10 subtitle => '3 matches',
11 empty_message => 'No matching monkeys found',
15 HTML and Mason contents of the info section,
16 as much stuff as you want.
24 Description: Displays a paragraph with a title bar and provides a way to collapse the content. A mason wrapper around CXGN::Page::FormattingHelpers::info_section_html.
32 the title to be displayed in the title bar. Required.
36 a subtitle that goes next to the title. Optional.
40 The message that should appear when $contents is empty.
44 if true, forces this info_section to be drawn in the empty state, content will not be shown.
48 boolean - default false, a true value makes the section collapsible (with javascript)
52 boolean - a true value will draw the section in the collapsed state
56 boolean - a true value will draw the section as a subsection, with slighly altered title bar and text rendering.
60 not sure what that does.
66 L<CXGN::Page::FormattingHelpers>
70 Lukas Mueller, based on the Perl code from Rob Buels.
91 use CXGN::Page::FormattingHelpers 'info_section_html';
94 <% info_section_html( %ARGS, contents => $m->content ) %>