Sha256: 1197d17c7c3469b182c5eb831dc5773256781bdccfd62b4c5b4ff03b0d641533

Contents?: true

Size: 465 Bytes

Versions: 1

Compression:

Stored size: 465 Bytes

Contents

<!--
 ! Excerpted from "Agile Web Development with Rails, 2nd Ed."
 ! We make no guarantees that this code is fit for any purpose.
 ! Visit http://www.pragmaticprogrammer.com/titles/rails2 for more book information.
-->
<% if cart_item == @current_item %>
  <tr id="current_item">
<% else %>
  <tr>
<% end %>
  <td><%= cart_item.quantity %> X </td>
  <td><%= h(cart_item.title) %></td>
  <td class="item-price"><%= number_to_currency(cart_item.price) %></td>
</tr>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
amrita2-2.0.2 sample/depot/app/views/store/_cart_item.html.erb