diff --git a/app/views/spree/admin/products/_shipping_category_form.html.haml b/app/views/spree/admin/products/_shipping_category_form.html.haml new file mode 100644 index 0000000000..8460f2c32b --- /dev/null +++ b/app/views/spree/admin/products/_shipping_category_form.html.haml @@ -0,0 +1,4 @@ += f.field_container :shipping_categories do + = f.label :shipping_category_id, t(:shipping_categories) + = f.collection_select(:shipping_category_id, Spree::ShippingCategory.all, :id, :name, {:include_blank => true}, {:class => 'select2 fullwidth'}) + = f.error_message_on :shipping_category_id