/ insert_bottom "[data-hook='admin_variant_form_fields']"

- if Spree::Config[:track_inventory_levels]
  .field.checkbox{ "data-hook" => "on_hand" }
    %label
      = f.check_box :on_demand
      = t(:on_demand)
  .field{ "data-hook" => "on_hand" }
    = f.label :on_hand, t(:on_hand)
    .fullwidth
      = f.text_field :on_hand

/ insert_bottom "[data-hook='admin_variant_form_fields']"

- if Spree::Config[:track_inventory_levels]
  .field.checkbox
    %label
      = f.check_box :on_demand
      = t(:on_demand)
  .field
    = f.label :on_hand, t(:on_hand)
    .fullwidth
      = f.text_field :on_hand

Remove unnecessary data-hooks from stock management deface override
Remove unnecessary data-hooks from stock management deface override
