Sha256: 2ceb724d64593e1d88c2d62ba537e6d5322de02c3a9778f9e8eda2212813b741

Contents?: true

Size: 1.68 KB

Versions: 93

Compression:

Stored size: 1.68 KB

Contents

<div data-hook="admin_tax_rate_form_fields">
  <div class="alpha twelve columns">
    <fieldset data-hook="tax_rates" class=" no-border-bottom">
      <legend align="center"><%= Spree.t(:general_settings) %></legend>

      <div class="alpha six columns">
        <div data-hook="name" class="field">
          <%= f.label :name, Spree.t(:name) %>
          <%= f.text_field :name, :class => 'fullwidth' %>
        </div>
        <div data-hook="rate" class="field">
          <%= f.label :amount, Spree.t(:rate) %>
          <%= f.text_field :amount, :class => 'fullwidth' %>
          <br/><span class="info"><%= Spree.t(:tax_rate_amount_explanation) %></span>
        </div>
        <div data-hook="included" class="field">
          <%= f.check_box :included_in_price %>
          <%= f.label :included_in_price, Spree.t(:included_in_price) %>
        </div>
      </div>

      <div class="omega six columns">
        <div data-hook="zone" class="field">
          <%= f.label :zone, Spree.t(:zone) %>
          <%= f.collection_select(:zone_id, @available_zones, :id, :name, {}, {:class => 'select2 fullwidth'}) %>
        </div>
        <div data-hook="category" class="field">
          <%= f.label :tax_category_id, Spree.t(:tax_category) %>
          <%= f.collection_select(:tax_category_id, @available_categories,:id, :name, {}, {:class => 'select2 fullwidth'}) %>
        </div>
        <div data-hook="show_rate" class="field">
          <%= f.check_box :show_rate_in_label %>
          <%= f.label :show_rate_in_label, Spree.t(:show_rate_in_label) %>
        </div>
      </div>
    </fieldset>
  </div>

  <div class="clear"></div>

  <%= render 'spree/admin/shared/calculator_fields', :f => f %>
</div>

Version data entries

93 entries across 93 versions & 2 rubygems

Version Path
solidus_backend-1.2.3 app/views/spree/admin/tax_rates/_form.html.erb
solidus_backend-1.1.4 app/views/spree/admin/tax_rates/_form.html.erb
solidus_backend-1.0.7 app/views/spree/admin/tax_rates/_form.html.erb
solidus_backend-1.0.6 app/views/spree/admin/tax_rates/_form.html.erb
solidus_backend-1.2.2 app/views/spree/admin/tax_rates/_form.html.erb
solidus_backend-1.2.1 app/views/spree/admin/tax_rates/_form.html.erb
solidus_backend-1.1.3 app/views/spree/admin/tax_rates/_form.html.erb
solidus_backend-1.0.5 app/views/spree/admin/tax_rates/_form.html.erb
solidus_backend-1.2.0 app/views/spree/admin/tax_rates/_form.html.erb
solidus_backend-1.2.0.rc2 app/views/spree/admin/tax_rates/_form.html.erb
solidus_backend-1.0.4 app/views/spree/admin/tax_rates/_form.html.erb
solidus_backend-1.1.2 app/views/spree/admin/tax_rates/_form.html.erb
solidus_backend-1.2.0.rc1 app/views/spree/admin/tax_rates/_form.html.erb
solidus_backend-1.2.0.beta1 app/views/spree/admin/tax_rates/_form.html.erb
solidus_backend-1.0.3 app/views/spree/admin/tax_rates/_form.html.erb
solidus_backend-1.1.1 app/views/spree/admin/tax_rates/_form.html.erb
solidus_backend-1.1.0 app/views/spree/admin/tax_rates/_form.html.erb
solidus_backend-1.1.0.pre2 app/views/spree/admin/tax_rates/_form.html.erb
solidus_backend-1.1.0.pre1 app/views/spree/admin/tax_rates/_form.html.erb
solidus_backend-1.1.0.beta1 app/views/spree/admin/tax_rates/_form.html.erb