Sha256: ba0a560b96dcc94b701d923cba1c1a9433c52f1e0e0b5f885b4184e58b81fc5e

Contents?: true

Size: 1.11 KB

Versions: 4

Compression:

Stored size: 1.11 KB

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="name">
      <td><%= f.label :name, t(:name) %></td>
      <td><%= f.text_field :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>
    <tr data-hook="show_rate">
      <td><%= f.label :show_rate_in_label, t(:show_rate_in_label) %></td>
      <td><%= f.check_box :show_rate_in_label %></td>
    </tr>
  </table>

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_core-1.2.5 app/views/spree/admin/tax_rates/_form.html.erb
spree_core-1.2.4 app/views/spree/admin/tax_rates/_form.html.erb
spree_core-1.2.3 app/views/spree/admin/tax_rates/_form.html.erb
spree_core-1.2.2 app/views/spree/admin/tax_rates/_form.html.erb