Sha256: d09dbadeff6e750243fdb546d786dec94a0bc0450b198beef63951d68b5dc766

Contents?: true

Size: 1.12 KB

Versions: 6

Compression:

Stored size: 1.12 KB

Contents

<div class="alpha six columns" data-hook="admin_zone_form_fields">
  <fieldset class="no-border-bottom">
    <legend align="center"><%= t(:general_settings)%></legend>

    <%= zone_form.field_container :name do %>
      <%= zone_form.label :name, t(:name) %><br />
      <%= zone_form.text_field :name, :class => 'fullwidth' %>
    <% end %>

    <%= zone_form.field_container :description do %>
      <%= zone_form.label :description, t(:description) %><br />
      <%= zone_form.text_field :description, :class => 'fullwidth' %>
    <% end %>

    <div data-hook="default" class="field">
      <%= zone_form.check_box :default_tax %>
      <%= label_tag t(:default_tax_zone) %>      
    </div>

    <div data-hook="type" class="field">
      <%= label_tag t(:type) %>
      <ul>
        <li>
          <%= zone_form.radio_button('kind', 'country', { :id => 'country_based' }) %>
          <%= label_tag t(:country_based) %>
        </li>
        <li>
          <%= zone_form.radio_button('kind', 'state', { :id => 'state_based' }) %>
          <%= label_tag t(:state_based) %>
        </li>
      </ul>      
    </div>
  </fieldset>
</div>

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
spree_core-1.3.2 app/views/spree/admin/zones/_form.html.erb
spree_core-1.3.1 app/views/spree/admin/zones/_form.html.erb
spree_core-1.3.0 app/views/spree/admin/zones/_form.html.erb
spree_core-1.3.0.rc2 app/views/spree/admin/zones/_form.html.erb
dup_spree_core-1.3.0.rc1 app/views/spree/admin/zones/_form.html.erb
spree_core-1.3.0.rc1 app/views/spree/admin/zones/_form.html.erb