% layout 'admin'; % title 'Categories'; % content_for javascript => begin % end % if ( my $error = flash 'error' ) {