1 package SL::Helper::Flash;
6 our @ISA = qw(Exporter);
7 our @EXPORT = qw(flash render_flash);
11 $category = 'info' if $category eq 'information';
13 $::form->{FLASH} ||= { };
14 $::form->{FLASH}->{ $category } ||= [ ];
15 push @{ $::form->{FLASH}->{ $category } }, @_;
19 return $::form->parse_html_template('common/flash');