% if ( my $confirmation = flash 'confirmation' ) {
<%== $confirmation %>
% }
% if ( my $error_message = flash 'error_message' ) {
<%== $error_message %>
% }
% if ( $c->stash->{success} ) {
<%= $c->stash->{success_message} %>
% }
% if ( my $errors = flash 'errors' ) {
There were errors with your request that could not be resolved:
% for my $error ( @{$errors} ) {
- <%= $error %>
% }
% }
% if ( $c->stash->{errors} ) {
There were errors with your request that could not be resolved:
% for my $error ( @{$c->stash->{errors}} ) {
- <%= $error %>
% }
% }