Files
fizzy/app/views/users/credentials/_credential.html.erb
T
2026-03-18 11:49:23 +01:00

12 lines
509 B
Plaintext

<tr style="view-transition-name: <%= dom_id(credential) %>">
<td><strong><%= credential.name.presence || "Passkey" %></strong></td>
<td>
<%= button_to user_credential_path(Current.user, credential), method: :delete,
class: "btn btn--circle txt-negative txt-xx-small borderless",
data: { turbo_confirm: "Are you sure you want to remove this passkey?" } do %>
<%= icon_tag "trash" %>
<span class="for-screen-reader">Remove this passkey</span>
<% end %>
</td>
</tr>