Add user profile editing

This commit is contained in:
2023-05-02 18:55:38 +02:00
parent cc65b64a4b
commit 23b8c82602
8 changed files with 61 additions and 82 deletions

View File

@@ -15,6 +15,8 @@
<% if user_signed_in? %>
<%= image_link_to t(:sign_out), "logout", destroy_user_session_path,
data: { turbo: true, turbo_method: :delete } %>
<%= image_link_to t(:profile), "account-wrench-outline", edit_user_registration_path,
current: :hide %>
<% else %>
<%= image_link_to t(:register), "account-plus-outline", new_user_registration_path,
current: :hide %>