Skip to content

Commit

Permalink
add a new partial template
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Dec 10, 2017
1 parent 1c5fb5f commit 9b15320
Showing 1 changed file with 31 additions and 0 deletions.
@@ -0,0 +1,31 @@
<div class="row">
<div class="col-md-12">
% if (my $info = flash 'info') {
<div class="alert alert-dismissible alert-info" role="alert">
<button type="button" class="close" data-dismiss="alert"
aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<%= $info %>
</div>
% }
% if (my $success = flash 'success') {
<div class="alert alert-dismissible alert-success" role="alert">
<button type="button" class="close" data-dismiss="alert"
aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<%= $success %>
</div>
% }
% if (my $danger = flash 'danger') {
<div class="alert alert-dismissible alert-danger" role="alert">
<button type="button" class="close" data-dismiss="alert"
aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<%= $danger %>
</div>
% }
</div>
</div>

0 comments on commit 9b15320

Please sign in to comment.