Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<!-- entries/_entry.html.erb -->
<tr>
<td><%= entry.distance %> <small>Km</small></td>
<td><%= decorate(entry).readable_time_period %></td>
<td><%= entry.date_time %></td>
<td><%= readable_speed(entry) %> </td>
<td><%= entry.status_weather %> </td>
<td><%= entry.status_landform %> </td>
<td><%= time_ago_in_words(entry.created_at) %></td>
<td><%= time_ago_in_words(entry.updated_at) %></td>
<td>
<%= link_to "X", entry_path(entry), method: :delete %>
</td>
</tr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment