Initial commit
This commit is contained in:
5
app/views/application/_flash.html.erb
Normal file
5
app/views/application/_flash.html.erb
Normal file
@@ -0,0 +1,5 @@
|
||||
<% if flash.alert.present? %>
|
||||
<div class="alert alert-danger text-center text-md-left"><%= flash.alert.html_safe %></div>
|
||||
<% elsif flash.notice.present? %>
|
||||
<div class="alert alert-primary text-center text-md-left"><%= flash.notice.html_safe %></div>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user