diff options
Diffstat (limited to 'app/views/application')
-rw-r--r-- | app/views/application/_navbar.html.erb | 3 | ||||
-rw-r--r-- | app/views/application/_results.html.erb | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/app/views/application/_navbar.html.erb b/app/views/application/_navbar.html.erb index 3436619..aaec030 100644 --- a/app/views/application/_navbar.html.erb +++ b/app/views/application/_navbar.html.erb @@ -13,6 +13,9 @@ <%= link_to "Inventory", character_items_path(current_char) %> </li> <li class="mr-6 inline"> + <%= link_to "Spells", character_spells_path(current_char) %> + </li> + <li class="mr-6 inline"> <%= link_to "Hearth", character_hearth_path(current_char) %> </li> <li class="mr-6 inline"> diff --git a/app/views/application/_results.html.erb b/app/views/application/_results.html.erb index ec62991..691f1d5 100644 --- a/app/views/application/_results.html.erb +++ b/app/views/application/_results.html.erb @@ -24,6 +24,8 @@ <p class="text-xs">You gained <%= result[:xp] %> <%= result[:skill].name %> XP.</p> <% when "title" %> <p>You earned the title <%= render "application/components/text/title", title: result[:title] %>!</p> + <% when "condition" %> + <p>You gained the <%= result[:condition].name %> condition.</p> <% when "message" %> <p><%= result[:body] %></p> <% when "warning" %> |