diff options
author | David Gay <david@davidgay.org> | 2021-06-16 21:23:06 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-06-16 21:23:06 -0400 |
commit | 9da911cf0fbbf7d4c7412966567f0728219e3ada (patch) | |
tree | f262a80ea5aec02e7f8fb73d4de87a778c6d9472 /app | |
parent | 72aee968a1702826365e52e8dac43e95f020d0e9 (diff) |
Display XPTNL on skill view
Diffstat (limited to 'app')
-rw-r--r-- | app/views/characters/skills/index.html.erb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/characters/skills/index.html.erb b/app/views/characters/skills/index.html.erb index d804384..da2db12 100644 --- a/app/views/characters/skills/index.html.erb +++ b/app/views/characters/skills/index.html.erb @@ -8,8 +8,9 @@ <div class="text-xl text-display mb-1"> <%= cs.skill.name %> </div> - <div class="flex items-center text-xs"> - <span class="bg-gray-700 px-1 py-0.5 rounded mr-1">XP</span><%= cs.xp %> + <div class="flex items-center text-xs space-x-4"> + <div><span class="bg-gray-700 px-1 py-0.5 rounded mr-1">XP</span><%= cs.xp %></div> + <div><span class="bg-gray-700 px-1 py-0.5 rounded mr-1">TNL</span><%= cs.xp_to_next_level %></div> </div> </div> <div class="text-xl m-2 text-display"> |