<td>
  <a href="javascript:void(0);">
    <% if !cart_product.product.images.blank? %>
      <%= image_tag(cart_product.product.cover_image.image.url(:medium), width: '60px') %>
    <% else %>
      <%= image_tag('kaktus.png', width: '60px') %>
    <% end %>
  </a>
</td>
<td>
  <h6 class="regular">
    <a href="javascript:void(0);"><%= cart_product.product.name %></a>
  </h6>
  <p><%= cart_product.product.description_short %></p>
</td>
<td>
  <span>PLN <%= format('%.2f', cart_product.product.price) %></span>
</td>
<td>
  <%= select_tag("product_qty_#{cart_product.id}", options_for_select((1..cart_product.product.max_qty).map {|i| [i, i]}, cart_product.quantity), class: 'form-control product_qty') %>
</td>
<td id="pq_tr_<%= cart_product.id %>">
  <span class="text-primary">PLN <%= format('%.2f', cart_product.multiple_price) %></span>
</td>
<td>
  <%= link_to(raw('<i class="fa fa-close"></i>'), { controller: :cart, action: :remove_from_cart, id: cart_product.product.friendly_id, ca: ca }, remote: true, data: { confirm: "Na pewno usunąć:\n#{cart_product.product.name}\nz koszyka"} ) %>
</td>
