diff options
author | David Gay <david@davidgay.org> | 2021-05-02 22:38:32 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-02 22:38:32 -0400 |
commit | 1b2de86007508ba86c6c9cb99fbdcac178045131 (patch) | |
tree | a007fc55acd2b54b5db108e3580928a9a006d71e /app/views/application | |
parent | 1d5083ddf7f2b285e63bb8019d38199e862fa1d8 (diff) |
Character items and inventory, with ability to add and remove items
Diffstat (limited to 'app/views/application')
-rw-r--r-- | app/views/application/_navbar.html.erb | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/app/views/application/_navbar.html.erb b/app/views/application/_navbar.html.erb index 5d3a2cb..85f4642 100644 --- a/app/views/application/_navbar.html.erb +++ b/app/views/application/_navbar.html.erb @@ -1,16 +1,13 @@ <ul class="py-2 px-2 col-span-12 text-display"> - <% if user_signed_in? %> <%# Will replace this with `current_character` or equivalent, eventually %> + <% if current_char %> <li class="mr-6 inline"> - LinkA + Actions </li> <li class="mr-6 inline"> - LinkB + <%= link_to "Character", character_path(current_char) %> </li> <li class="mr-6 inline"> - LinkC - </li> - <li class="mr-6 inline"> - LinkD + <%= link_to "Inventory", character_items_path(current_char) %> </li> <% end %> </ul> |