Allow for ignoring of values in import and toggle showing of them

This commit is contained in:
Tom Bloor 2017-11-14 18:41:54 +00:00
parent 9d07830e27
commit 423c68aca2
5 changed files with 48 additions and 18 deletions

View file

@ -60,13 +60,13 @@
</div>
</nav>
<div class="container">
% if ( my $error = flash 'error' ) {
% if ( my $f_error = flash 'error' ) {
<div class="alert alert-danger" role="alert">
<strong>Error!</strong> <%= $error %>
<strong>Error!</strong> <%= $f_error %>
</div>
% } elsif ( my $error = stash 'error' ) {
% } elsif ( my $s_error = stash 'error' ) {
<div class="alert alert-danger" role="alert">
<strong>Error!</strong> <%= $error %>
<strong>Error!</strong> <%= $s_error %>
</div>
% } elsif ( my $success = flash 'success' ) {
<div class="alert alert-success" role="alert">