tap/app/views/orders/_order.html.erb
2014-11-09 22:53:39 +01:00

8 lines
No EOL
261 B
Text

<li id="order-<%= order.id %>">
<span class="user"><%= link_to order.user.name, order.user %></span>
<span class="products"><%= order.products %></span>
<span class="timestamp">
Posted <%= time_ago_in_words(order.created_at) %> ago.
</span>
</li>