diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 2b1e9d076b5841142a44f36528b7531bf0eae8e3..703f96f23ddfecae187de363d64eccc22a98cda8 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -25,7 +25,7 @@ <% if user_signed_in? %> <span class="-mr-2 hidden lg:inline">logged in as</span> <%= render partial: 'application/user_avatar', locals: { user: current_user } %> - <%= link_to 'My Profile', edit_user_registration_path, class: 'hover:text-gray-900' %> + <%= link_to '<span class="hidden lg:inline">My </span>Profile'.html_safe, edit_user_registration_path, class: 'hover:text-gray-900', aria_label: "My Profile" %> <%= link_to 'My Assignments', user_assignments_path(current_user), class: 'hover:text-gray-900' %> <%= link_to 'Logout', destroy_user_session_path, data: { turbo_method: :delete }, class: 'hover:text-gray-900' %> <% else %>