1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/app/views/application/_flash.html.erb

11 lines
349 B
Text
Raw Normal View History

2018-12-03 12:58:39 -05:00
<% unless flash.empty? %>
2018-12-03 13:35:51 -05:00
<div class="container">
2019-02-01 23:52:55 -05:00
<% flash.select { |_, msg| msg.is_a? String }.each do |type, msg| %>
2018-12-03 13:35:51 -05:00
<div class="alert <%= bootstrap_class_for_flash type %> alert-dismissable fade show mt-3">
2018-12-03 12:58:39 -05:00
<%= msg %>
<button class="close" data-dismiss="alert">x</button>
</div>
<% end %>
</div>
<% end %>