app/assets/javascripts/spree/backend/templates/orders/line_item.hbs in solidus_backend-2.4.2 vs app/assets/javascripts/spree/backend/templates/orders/line_item.hbs in solidus_backend-2.5.0.beta1

- old
+ new

@@ -17,11 +17,13 @@ <td class="line-item-price"> {{ line_item.single_display_amount }} </td> {{#if editing}} <td class="line-item-qty-edit"> - <input type="number" name="quantity" value="{{ line_item.quantity }}" min="0" class="line_item_quantity" size="5"> + <form> + <input type="number" name="quantity" value="{{ line_item.quantity }}" min="0" class="line_item_quantity" size="5"> + </form> </td> {{else}} <td class="line-item-qty-show"> {{ line_item.quantity }} </td> @@ -29,14 +31,14 @@ <td class="line-item-total"> {{ line_item.display_amount }} </td> <td class="cart-line-item-delete actions" data-hook="cart_line_item_delete"> {{#if editing}} - <a class="save-line-item fa fa-ok no-text with-tip" href="#" title="{{ t "actions.save" }}"></a> + <button class="save-line-item fa fa-ok no-text with-tip" data-action="save" title="{{ t "actions.save" }}"></button> {{#unless noCancel}} - <a class="cancel-line-item fa fa-cancel no-text with-tip" href="#" title="{{ t "actions.cancel" }}"></a> + <button class="cancel-line-item fa fa-cancel no-text with-tip" data-action="cancel" title="{{ t "actions.cancel" }}"></button> {{/unless}} {{else}} - <a class="edit-line-item fa fa-edit no-text with-tip" href="#" title="{{ t "actions.edit" }}"></a> - <a class="delete-line-item fa fa-trash no-text with-tip" href="#" title="{{ t "actions.delete" }}"></a> + <button class="edit-line-item fa fa-edit no-text with-tip" data-action="edit" title="{{ t "actions.edit" }}"></button> + <button class="delete-line-item fa fa-trash no-text with-tip" data-action="remove" title="{{ t "actions.delete" }}"></button> {{/if}} </td>