aboutsummaryrefslogtreecommitdiff
path: root/app/views/application/_flash.html.erb
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2020-10-06 21:59:13 +0200
committerhellekin <hellekin@cepheide.org>2020-10-06 21:59:13 +0200
commitcf6b277ca3f22e575b059a8d8029163ddcee86db (patch)
tree960074763696f58860f2a57d009c3dba90fe1e6a /app/views/application/_flash.html.erb
parent8c7c0501e49871765d6ac971e4027dac0ea20407 (diff)
downloadincommon-map-cf6b277ca3f22e575b059a8d8029163ddcee86db.tar.gz
Fix form, add flash
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>