% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
% if (!defined(stash('f')) && defined(stash('msg'))) {

<%= stash('msg') %>

% } elsif (defined(stash('msg_success'))) {

<%= stash('msg_success') %>

% } else {
<%= stash('f')->filename %>

<%= stash('msg') %>

% }