summaryrefslogtreecommitdiff
path: root/app/views/application
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-05-27 17:27:42 -0400
committerDavid Gay <david@davidgay.org>2021-05-27 17:27:42 -0400
commit82ebb73bb4fc53ec5af428a88809ab8f11e52c0b (patch)
treeaa1e85e2bdb4a772317f89dc8f56db42df92d6d9 /app/views/application
parent25b01cb1df594d0b80adf719ef1cb5dbe9c62ab5 (diff)
Display cost and requirements of any activity that fails to start
Diffstat (limited to 'app/views/application')
-rw-r--r--app/views/application/_flash_messages.html.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/application/_flash_messages.html.erb b/app/views/application/_flash_messages.html.erb
new file mode 100644
index 0000000..a1c7467
--- /dev/null
+++ b/app/views/application/_flash_messages.html.erb
@@ -0,0 +1,6 @@
+<% if notice %>
+ <div class="flash-message bg-gray-700 text-gray-200"><%= notice %></div>
+<% end %>
+<% if alert %>
+ <div class="flash-message bg-red-800 text-red-300"><%= alert %></div>
+<% end %>