<% @page_title = "Passkeys" %> <% content_for :header do %>
<%= back_link_to "My profile", user_path(@user), "keydown.left@document->hotkey#click keydown.esc@document->hotkey#click" %>

<%= @page_title %>

<% end %>
<% if @credentials.any? %>

Passkeys let you sign in without email codes. They use your device's biometrics, PIN, or security key.

<%= render partial: "users/credentials/credential", collection: @credentials %>
Passkey Created
<% else %>

Passkeys let you sign in without email codes. They use your device's biometrics, PIN, or security key.

<% end %> <%= link_to new_user_credential_path(@user), class: "btn btn--link" do %> <%= icon_tag "add" %> Add a passkey <% end %>