dawarich/app/views/points/_point.html.erb
Victor Goncharov f837986b6b
Update _point.html.erb
Patched `_point.html.erb` to use `point_speed(point.velocity)` for consistent and accurate speed display with units.
2025-06-04 00:14:29 +02:00

20 lines
561 B
Text

<tr id="<%= dom_id point %>" class='hover'>
<td>
<%= check_box_tag "point_ids[]",
point.id,
nil,
{
multiple: true,
form: :bulk_destroy_form,
data: {
checkbox_select_all_target: 'child',
action: 'change->checkbox-select-all#toggleParent'
}
}
%>
</td>
<td class='<%= speed_text_color(point.velocity) %>'><%= point_speed(point.velocity) %></td>
<td><%= human_datetime_with_seconds(point.recorded_at) %></td>
<td><%= point.lat %>, <%= point.lon %></td>
<td></td>
</tr>