Sha256: ffb9303f0acbad7f2367c667c6341d3e1dcb85bfdfaf0b580ee8ab86c83a2c40

Contents?: true

Size: 1.29 KB

Versions: 17

Compression:

Stored size: 1.29 KB

Contents

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

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

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

    <div data-hook="default" class="field">
      <%= zone_form.check_box :default_tax %>
      <%= zone_form.label :default_tax %>
    </div>

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

<%= render :partial => 'state_members', :locals => { :zone_form => zone_form }%>
<%= render :partial => 'country_members', :locals => { :zone_form => zone_form } %>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
solidus_backend-2.0.3 app/views/spree/admin/zones/_form.html.erb
solidus_backend-1.4.2 app/views/spree/admin/zones/_form.html.erb
solidus_backend-1.3.2 app/views/spree/admin/zones/_form.html.erb
solidus_backend-2.0.2 app/views/spree/admin/zones/_form.html.erb
solidus_backend-1.4.1 app/views/spree/admin/zones/_form.html.erb
solidus_backend-2.0.1 app/views/spree/admin/zones/_form.html.erb
solidus_backend-2.0.0 app/views/spree/admin/zones/_form.html.erb
solidus_backend-1.4.0 app/views/spree/admin/zones/_form.html.erb
solidus_backend-2.0.0.rc1 app/views/spree/admin/zones/_form.html.erb
solidus_backend-1.4.0.rc1 app/views/spree/admin/zones/_form.html.erb
solidus_backend-2.0.0.beta1 app/views/spree/admin/zones/_form.html.erb
solidus_backend-1.4.0.beta1 app/views/spree/admin/zones/_form.html.erb
solidus_backend-1.3.1 app/views/spree/admin/zones/_form.html.erb
solidus_backend-1.3.0 app/views/spree/admin/zones/_form.html.erb
solidus_backend-1.3.0.rc2 app/views/spree/admin/zones/_form.html.erb
solidus_backend-1.3.0.rc1 app/views/spree/admin/zones/_form.html.erb
solidus_backend-1.3.0.beta1 app/views/spree/admin/zones/_form.html.erb