summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-06-07 16:07:01 -0400
committerDavid Gay <david@davidgay.org>2021-06-07 16:07:01 -0400
commit1ad48cd5ed9dd8c476218d44c1d188df72b72271 (patch)
treed5fff79e0e7af70949aaacb26b1a6f8849b4d177 /app/views
parent7433ac3221f9d784b8797afc4c94df1846becbd1 (diff)
Display title at top of character view along with name
Diffstat (limited to 'app/views')
-rw-r--r--app/views/characters/show.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/characters/show.html.erb b/app/views/characters/show.html.erb
index 896280d..a7b7c0e 100644
--- a/app/views/characters/show.html.erb
+++ b/app/views/characters/show.html.erb
@@ -1,5 +1,5 @@
<h1 class="text-3xl mb-4">
- <%= @character.name %>
+ <%= render "application/components/text/name_and_title", character: @character %>
</h1>
<div class="text-lg text-display mb-4">