Sha256: 524a3d632c211920bf7c4a9a4d74f2e8ec115b91705704623e9f73c9be20855c

Contents?: true

Size: 977 Bytes

Versions: 15

Compression:

Stored size: 977 Bytes

Contents

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

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

<p data-hook="default">
  <td><%= t(:default_tax_zone) %></td>
  <td><%= zone_form.check_box :default_tax %></td>
</p>

<p data-hook="type">
  <%= label_tag nil, t(:type) %><br />
  <label class="sub">
    <%= zone_form.radio_button('kind', 'country', { :id => 'country_based' }) %>
    <%= t(:country_based) %>
  </label> &nbsp;
  <label class="sub">
    <%= zone_form.radio_button('kind', 'state', { :id => 'state_based' }) %>
    <%= t(:state_based) %>
  </label> &nbsp;
</p>

<%= render :partial => 'member_type', :locals => { :type => 'country', :zone_form => zone_form }%>
<%= render :partial => 'member_type', :locals => { :type => 'state', :zone_form => zone_form } %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
spree_core-1.0.7 app/views/spree/admin/zones/_form.html.erb
spree_core-1.0.6 app/views/spree/admin/zones/_form.html.erb
spree_core-1.1.2.rc1 app/views/spree/admin/zones/_form.html.erb
spree_core-1.1.1 app/views/spree/admin/zones/_form.html.erb
spree_core-1.1.0 app/views/spree/admin/zones/_form.html.erb
spree_core-1.0.4 app/views/spree/admin/zones/_form.html.erb
spree_core-1.1.0.rc2 app/views/spree/admin/zones/_form.html.erb
spree_core-1.1.0.rc1 app/views/spree/admin/zones/_form.html.erb
spree_core-1.0.3 app/views/spree/admin/zones/_form.html.erb
spree_core-1.0.2 app/views/spree/admin/zones/_form.html.erb
spree_core-1.0.1 app/views/spree/admin/zones/_form.html.erb
spree_core-1.0.0 app/views/spree/admin/zones/_form.html.erb
spree_core-1.0.0.rc4 app/views/spree/admin/zones/_form.html.erb
spree_core-1.0.0.rc3 app/views/spree/admin/zones/_form.html.erb
spree_core-1.0.0.rc2 app/views/spree/admin/zones/_form.html.erb