app/views/spree/admin/variants/_split.js.erb in spree_backend-2.4.10 vs app/views/spree/admin/variants/_split.js.erb in spree_backend-3.0.0.rc1

- old
+ new

@@ -1,9 +1,9 @@ <script type='text/template' id='variant_split_template'> <tr class='stock-item-split' data-variant-id='{{variant.id}}'> <td colspan='2'> - <%=Spree.t("move_variant_to", default: "Move {{variant.name}} to")%> + <%= Spree.t("move_variant_to", default: "Move {{variant.name}} to") %> </td> <td colspan='2'> <select name="item_stock_location" id='item_stock_location' style='width:100%;'> <option></option> <optgroup label="<%=Spree.t('existing_shipments')%>"> @@ -17,13 +17,17 @@ {{/each}} </optgroup> </select> </td> <td> - <input class="quantity" id="item_quantity" type="number" min="1" value="1" max="{{max_quantity}}"> + <input class="quantity form-control" id="item_quantity" type="number" min="1" value="1" max="{{max_quantity}}"> </td> <td class='actions'> - <a href='#' class='save-split icon_link fa fa-ok no-text with-tip' title='Save'></a> - <a href='#' class='cancel-split icon_link fa fa-cancel no-text with-tip' title='Cancel'></a> + <a href='#' class='save-split with-tip btn btn-sm btn-default' title='Save'> + <span class="icon icon-save"></span> + </a> + <a href='#' class='cancel-split with-tip btn btn-sm btn-default' title='Cancel'> + <span class="icon icon-delete"></span> + </a> </td> </tr> </script>