Sha256: 2db75e21c1c3a63bc8214c29a4e26e6f6d7107f5a547589062d9c392397a4e06

Contents?: true

Size: 972 Bytes

Versions: 1

Compression:

Stored size: 972 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

1 entries across 1 versions & 1 rubygems

Version Path
spree_core-1.0.0.rc1 app/views/spree/admin/zones/_form.html.erb