2014-12-09 14:42:50 +01:00
|
|
|
<div id="flash">
|
|
|
|
<% if flash[:error] %>
|
|
|
|
<div class="alert alert-danger alert-dismissable">
|
|
|
|
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
|
|
|
<strong>Error!</strong> <%= flash[:error] %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
<% if flash[:success] %>
|
|
|
|
<div class="alert alert-success alert-dismissable">
|
|
|
|
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
2015-02-04 19:03:50 +01:00
|
|
|
<strong>Success!</strong> <%= raw flash[:success] %>
|
2014-12-09 14:42:50 +01:00
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
<% if flash[:notice] %>
|
|
|
|
<div class="alert alert-info alert-dismissable">
|
|
|
|
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
|
|
|
<strong>Notice!</strong> <%= flash[:notice] %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
<% if flash[:warning] %>
|
|
|
|
<div class="alert alert-warning alert-dismissable">
|
|
|
|
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
|
|
|
<strong>Warning!</strong> <%= flash[:warning] %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
2015-02-12 14:39:58 +01:00
|
|
|
<% if flash[:alert] %>
|
|
|
|
<div class="alert alert-danger alert-dismissable">
|
|
|
|
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
|
|
|
<strong>Error!</strong> <%= flash[:alert] %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
2014-12-09 14:42:50 +01:00
|
|
|
</div>
|