<%= f.label :price %>
<%= f.text_field :price, :value => number_to_currency(@variant.price, :unit => ''), :class => 'fullwidth' %>
<% if show_rebuild_vat_checkbox? %>
<%= render "spree/admin/shared/rebuild_vat_prices_checkbox", form: f, model_name: "variant", wrapper_class: "field" %>
<% end %>
<%= f.label :cost_price %>
<%= f.text_field :cost_price, :value => number_to_currency(@variant.cost_price, :unit => ''), :class => 'fullwidth' %>
<%= f.label :tax_category %>
<%= f.field_hint :tax_category %>
<%= f.collection_select :tax_category_id,
@tax_categories,
:id,
:name,
{ :include_blank => t('.use_product_tax_category') },
{ :class => 'select2 fullwidth' } %>