diff options
author | David Gay <david@davidgay.org> | 2021-05-06 09:42:43 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-06 09:42:43 -0400 |
commit | 25c499ae942086b460b886e3d79dc5a55e5f1214 (patch) | |
tree | 42c4f62fdbfce959537806d4e8ddc25ade341b29 /app/views/characters | |
parent | 82fa2b72be613713d42b451e0d1801904b4580e8 (diff) |
Implement drop table scaling
Diffstat (limited to 'app/views/characters')
-rw-r--r-- | app/views/characters/show.html.erb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app/views/characters/show.html.erb b/app/views/characters/show.html.erb index 8a3b08b..3ee7088 100644 --- a/app/views/characters/show.html.erb +++ b/app/views/characters/show.html.erb @@ -1,4 +1,12 @@ -<h1 class="text-xl"> +<h1 class="text-3xl"> <%= @character.name %> </h1> <p>First entered the planes <%= pluralize((Date.current - @character.created_at.to_date).to_i, "day") %> ago.</p> + +<h2 class="text-2xl">Skills</h2> + +<ul> + <% @character.character_skills.ordered_by_skill_name.each do |cs| %> + <li><%= cs.skill.name %> Level <%= cs.level %> (<%= cs.xp %> XP)</li> + <% end %> +</ul> |