<%= Spree.t(:general_settings) %>
<%= f.label :name, Spree.t(:name) %> <%= f.text_field :name, :class => 'fullwidth' %>
<%= f.label :amount, Spree.t(:rate) %> <%= f.text_field :amount, :class => 'fullwidth' %>

<%= Spree.t(:tax_rate_amount_explanation) %>

<%= f.check_box :included_in_price %> <%= f.label :included_in_price, Spree.t(:included_in_price) %>
<%= f.label :zone, Spree.t(:zone) %> <%= f.collection_select(:zone_id, @available_zones, :id, :name, {}, {:class => 'select2 fullwidth'}) %>
<%= f.label :tax_category_id, Spree.t(:tax_category) %> <%= f.collection_select(:tax_category_id, @available_categories,:id, :name, {}, {:class => 'select2 fullwidth'}) %>
<%= f.check_box :show_rate_in_label %> <%= f.label :show_rate_in_label, Spree.t(:show_rate_in_label) %>
<%= render :partial => 'spree/admin/shared/calculator_fields', :locals => { :f => f } %>