<% if view == "mobile" %> <% additional_classes = "d-lg-none" %> <% elsif view == "desktop" %> <% additional_classes = "d-none d-lg-table-cell" %> <% end %>
<%= line_item.single_money.to_html %>
<%= button_tag '-', type: 'button', class: "border-right-0 shopping-cart-item-quantity-decrease-btn", data: { id: dom_id(line_item) } %> <%= item_form.number_field :quantity, min: 0, class: "form-control text-center border-left-0 border-right-0 shopping-cart-item-quantity-input", size: 5, data: { id: dom_id(line_item) } %> <%= button_tag '+', type: 'button', class: "border-left-0 shopping-cart-item-quantity-increase-btn", data: { id: dom_id(line_item) } %>
<% if view == "desktop" %>
<%= line_item.display_amount.to_html unless line_item.quantity.nil? %>
<% end %>
<%= link_to '#', class: 'delete', id: "delete_#{dom_id(line_item)}" do %> <%= icon(name: 'garbage', classes: 'shopping-cart-item-delete-icon', width: 18.9, height: 17) %> <% end %>