% layout 'admin'; % title 'Categories'; % content_for javascript => begin % end % if ( my $error = flash 'error' ) {
Do not change the ID unless absolutely necessary. This will result in an error reading as it can no longer find it from the same ID.