Update saas/app/views/devices/index.html.erb
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -13,7 +13,9 @@
|
||||
<strong><%= device.name || "Unnamed device" %></strong>
|
||||
(<%= device.platform == "apple" ? "iOS" : "Android" %>)
|
||||
</span>
|
||||
<%= tag.time "Added #{time_ago_in_words(device.created_at)} ago", datetime: device.created_at.to_i, class: "txt-subtle txt-x-small" %>
|
||||
<span class="txt-subtle txt-x-small">
|
||||
Added <%= local_datetime_tag(device.created_at, style: :daysago) %>
|
||||
</span>
|
||||
</div>
|
||||
<%= button_to saas.device_path(device), method: :delete, class: "btn btn--circle-mobile txt-small", data: { confirm: "Remove this device?" }, form: { class: "flex-item-no-shrink" } do %>
|
||||
<%= icon_tag "trash", class: "icon--mobile-only" %>
|
||||
|
||||
Reference in New Issue
Block a user