summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-05-31 13:38:07 -0400
committerDavid Gay <david@davidgay.org>2021-05-31 13:38:07 -0400
commit3a6ae0cdf991bba01dee8840b349a299038f58fc (patch)
treecf3fcefacd2b1668b00cb1ae215846265f000301 /app
parent0fac92a969f8f3049a55a824c1af65255c9d1654 (diff)
Add link to manage account
Diffstat (limited to 'app')
-rw-r--r--app/views/characters/show.html.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/characters/show.html.erb b/app/views/characters/show.html.erb
index ee81e76..71d75a5 100644
--- a/app/views/characters/show.html.erb
+++ b/app/views/characters/show.html.erb
@@ -104,3 +104,7 @@
</tbody>
</table>
</div>
+
+<% if @character == current_char %>
+ <%= link_to "Manage account", edit_user_registration_path, class: "text-sm" %>
+<% end %>