Sha256: cc79e887c89fb382f6d4c8229042db114ef52cb966460856bc5181a8a2ebb4e6

Contents?: true

Size: 1.36 KB

Versions: 107

Compression:

Stored size: 1.36 KB

Contents

<div class="row js-zones-form">
  <div class="col-5">

    <div data-hook="admin_zone_form_fields">
      <fieldset class="no-border-bottom">
        <legend align="center"><%= t('spree.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="type" class="field">
          <%= label_tag t('spree.type') %>
          <ul>
            <li>
              <label>
                <%= zone_form.radio_button('kind', 'country', { id: 'country_based' }) %>
                <%= t('spree.country_based') %>
              </label>
            </li>
            <li>
              <label>
                <%= zone_form.radio_button('kind', 'state', { id: 'state_based' }) %>
                <%= t('spree.state_based') %>
              </label>
            </li>
          </ul>
        </div>
      </fieldset>
    </div>
  </div>
  <div class="col-5">

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

</div>

Version data entries

107 entries across 107 versions & 2 rubygems

Version Path
solidus_backend-3.3.4 app/views/spree/admin/zones/_form.html.erb
solidus_backend-3.2.9 app/views/spree/admin/zones/_form.html.erb
solidus_backend-3.2.8 app/views/spree/admin/zones/_form.html.erb
solidus_backend-3.3.3 app/views/spree/admin/zones/_form.html.erb
solidus_backend-3.2.7 app/views/spree/admin/zones/_form.html.erb
solidus_backend-3.3.2 app/views/spree/admin/zones/_form.html.erb
solidus_backend-3.3.1 app/views/spree/admin/zones/_form.html.erb
solidus_backend-3.2.6 app/views/spree/admin/zones/_form.html.erb
solidus_backend-3.1.9 app/views/spree/admin/zones/_form.html.erb
solidus_backend-3.3.0 app/views/spree/admin/zones/_form.html.erb
solidus_backend-3.2.5 app/views/spree/admin/zones/_form.html.erb
solidus_backend-3.2.4 app/views/spree/admin/zones/_form.html.erb
solidus_backend-3.2.3 app/views/spree/admin/zones/_form.html.erb
solidus_backend-3.1.8 app/views/spree/admin/zones/_form.html.erb
solidus_backend-3.0.8 app/views/spree/admin/zones/_form.html.erb
solidus_backend-3.2.2 app/views/spree/admin/zones/_form.html.erb
solidus_backend-3.2.1 app/views/spree/admin/zones/_form.html.erb
solidus_backend-3.2.0 app/views/spree/admin/zones/_form.html.erb
solidus_backend-3.2.0.alpha app/views/spree/admin/zones/_form.html.erb
solidus_backend-3.0.7 app/views/spree/admin/zones/_form.html.erb