Remove unnecessary data-hooks from stock management deface override

This commit is contained in:
luisramos0
2019-03-22 21:30:25 +00:00
parent 21a10d0206
commit 78ea16c684

View File

@@ -1,11 +1,11 @@
/ insert_bottom "[data-hook='admin_variant_form_fields']"
- if Spree::Config[:track_inventory_levels]
.field.checkbox{ "data-hook" => "on_hand" }
.field.checkbox
%label
= f.check_box :on_demand
= t(:on_demand)
.field{ "data-hook" => "on_hand" }
.field
= f.label :on_hand, t(:on_hand)
.fullwidth
= f.text_field :on_hand