made changes to still have status view from delete

This commit is contained in:
Finn 2018-03-15 13:38:06 +00:00
parent cea9e62073
commit b233acfd64
2 changed files with 11 additions and 2 deletions

View file

@ -2,3 +2,12 @@
% title 'Transactions';
% content_for javascript => begin
% end
% if ( my $error = flash 'error' ) {
<div class="alert alert-danger" role="alert">
<strong>Error!</strong> <%= $error %>
</div>
% } elsif ( my $success = flash 'success' ) {
<div class="alert alert-success" role="alert">
<strong>Success!</strong> <%= $success %>
</div>
% }