aboutsummaryrefslogtreecommitdiff
path: root/app/views/application/_flash.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/application/_flash.html.erb')
-rw-r--r--app/views/application/_flash.html.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/application/_flash.html.erb b/app/views/application/_flash.html.erb
new file mode 100644
index 0000000..0b5cc5f
--- /dev/null
+++ b/app/views/application/_flash.html.erb
@@ -0,0 +1,3 @@
+<div id="flashes"><% flash.each do |type, msg| %>
+ <span class="<%= type %>"><%= msg %></span>
+<% end %></div>