diff options
author | David Gay <david@davidgay.org> | 2021-06-03 21:31:04 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-06-03 21:31:04 -0400 |
commit | 0e8f90a95212159ddab64c6249a3da63f918d21d (patch) | |
tree | ebbfaab6cecc206cd365d0b25cbc90fafdf2cee2 | |
parent | 5d5205a9c48762e05a489bd5ff9c72b48bc6f70b (diff) |
Use `#pluralize` for max wound(s)
-rw-r--r-- | app/views/application/_timer.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/application/_timer.html.erb b/app/views/application/_timer.html.erb index ec10258..edbc7ea 100644 --- a/app/views/application/_timer.html.erb +++ b/app/views/application/_timer.html.erb @@ -19,7 +19,7 @@ <div class="text-center text-xs my-2"> <% if current_char.activity.gid.include?("beastslay") %> - <%= current_char.wounds %> / <%= current_char.max_wounds %> wounds + <%= current_char.wounds %> / <%= pluralize(current_char.max_wounds, "wound") %> <% end %> <% current_char.active_states.each do |state| %> <div> |