summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/application/_results.html.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/application/_results.html.erb b/app/views/application/_results.html.erb
index 1da0af7..31fb93e 100644
--- a/app/views/application/_results.html.erb
+++ b/app/views/application/_results.html.erb
@@ -23,6 +23,8 @@
<p>You earned the title <%= render "application/components/text/title", title: result[:title] %>!</p>
<% when "message" %>
<p><%= result[:body] %></p>
+ <% when "warning" %>
+ <p class="text-yellow-500"><%= result[:message] %></p>
<% when "error" %>
<p class="text-red-500"><%= result[:message] %></p>
<% when "br" %>