<%= t("users.registrations.edit.connected_devices.title") %>

<% if @connected_devices.present? %>

<%= t("users.registrations.edit.connected_devices.description") %>

<%= t("users.registrations.edit.devices_table.device_name") %>
<%= t("users.registrations.edit.devices_table.added_on") %>
<% @connected_devices.each do |device| %>
>
<%= device.name %>
<%= l(device.last_seen_at, format: :full_date) %>
<% end %>
<% else %>

<%= t("users.registrations.edit.connected_devices.empty_state") %>

<% end %>
<%= render partial: 'device_revocation_modal' %> <%= javascript_include_tag 'users/connected_devices' %>