Sha256: d8636b413cf33c1fd0deecd31d6dbb36f081d98dd0bd409dd870bf71205d2867

Contents?: true

Size: 842 Bytes

Versions: 8

Compression:

Stored size: 842 Bytes

Contents

<div data-hook="admin_tax_rate_form_fields">
  <table data-hook="tax_rates">
    <tr data-hook="zone">
      <td><%= f.label :zone, t(:zone) %></td>
      <td><%= f.collection_select(:zone_id, @available_zones, :id, :name) %></td>
    </tr>
    <tr data-hook="category">
      <td><%= f.label :tax_category_id, t(:tax_category) %></td>
      <td><%= f.collection_select(:tax_category_id, @available_categories,:id, :name) %></td>
    </tr>
    <tr data-hook="included">
      <td><%= f.label :included_in_price, t(:included_in_price) %></td>
      <td><%= f.check_box :included_in_price %></td>
    </tr>
    <tr data-hook="rate">
      <td><%= f.label :amount, t(:rate) %></td>
      <td><%= f.text_field :amount %></td>
    </tr>
  </table>

  <%= render :partial => 'spree/admin/shared/calculator_fields', :locals => { :f => f } %>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
spree_core-1.1.6 app/views/spree/admin/tax_rates/_form.html.erb
spree_core-1.1.5 app/views/spree/admin/tax_rates/_form.html.erb
spree_core-1.1.4 app/views/spree/admin/tax_rates/_form.html.erb
spree_core-1.2.0 app/views/spree/admin/tax_rates/_form.html.erb
spree_core-1.2.0.rc2 app/views/spree/admin/tax_rates/_form.html.erb
spree_core-1.2.0.rc1 app/views/spree/admin/tax_rates/_form.html.erb
spree_core-1.1.3 app/views/spree/admin/tax_rates/_form.html.erb
spree_core-1.1.2 app/views/spree/admin/tax_rates/_form.html.erb