Migrate Users views to grid layout + turbo_stream

Closes #7
This commit is contained in:
2024-01-17 03:30:04 +01:00
parent 50c1be4647
commit dec3af27bf
11 changed files with 75 additions and 66 deletions

View File

@@ -29,7 +29,7 @@
<%= image_link_to current_user.email, "account-wrench-outline",
edit_user_registration_path, current: :hide %>
<% if current_user_disguised? %>
<%= image_button_to t(".revert"), "incognito-off", revert_users_path %>
<%= image_link_to t(".revert"), "incognito-off", revert_users_path %>
<% else %>
<%= image_button_to t(".sign_out"), "logout", destroy_user_session_path,
method: :delete %>