diff options
author | David Gay <david@davidgay.org> | 2021-05-31 13:38:07 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-31 13:38:07 -0400 |
commit | 3a6ae0cdf991bba01dee8840b349a299038f58fc (patch) | |
tree | cf3fcefacd2b1668b00cb1ae215846265f000301 /app/views | |
parent | 0fac92a969f8f3049a55a824c1af65255c9d1654 (diff) |
Add link to manage account
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/characters/show.html.erb | 4 |
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 %> |