<%= f.label :name %>
<%= f.text_field :name, class: 'fullwidth' %>
<%= f.label :amount %>
<%= f.text_field :amount, class: 'fullwidth' %>
<%= t('spree.tax_rate_amount_explanation') %>
<%= f.label :level, t('spree.tax_rate_level') %>
<%= admin_hint t('spree.tax_rate_level'), t(:tax_rate_level, scope: [:spree, :hints, "spree/tax_rate"]) %>
<% Spree::TaxRate.levels.keys.each do |level| %>
-
<% end %>
<%= f.label :zone, Spree::Zone.model_name.human %>
<%= f.collection_select(:zone_id, @available_zones, :id, :name, {}, {class: 'custom-select fullwidth'}) %>
<%= f.label :tax_category_ids, Spree::TaxCategory.model_name.human %>
<%= f.collection_select(:tax_category_ids, @available_categories, :id, :name, {}, {class: 'select2 fullwidth', multiple: "multiple"}) %>
<%= label_tag :validity_period, t('spree.validity_period') %>
<%= admin_hint t('spree.validity_period'), t(:validity_period, scope: [:spree, :hints, "spree/tax_rate"]) %>