Sha256: f8ab4daf7ba0aff85a5bc393d5a7e560884cc38767369e16d10afcbda87dd180

Contents?: true

Size: 907 Bytes

Versions: 17

Compression:

Stored size: 907 Bytes

Contents

<%= render :partial => 'spree/admin/shared/configuration_menu' %>

<% content_for :page_title do %>
  <%= Spree.t(:states) %>
<% end %>

<% content_for :page_actions do %>
  <li id="new_state_link">
    <%= button_link_to Spree.t(:new_state), new_admin_country_state_url(@country), { :remote => true, :icon => 'plus', :id => 'new_state_link' } %>
  </li>
<% end %>

<div data-hook="country" class="field row">
  <%= label_tag :country, Spree.t(:country) %>
  <select id="country" class='observe_field select2 fullwidth' data-base-url="<%=admin_states_path(:format => :js) %>?country_id=" data-update="#state-list">
  <%= options_from_collection_for_select(@countries, :id, :name, @country.id) %>
  </select>
</div>

<%= image_tag 'select2-spinner.gif', :plugin => 'spree', :style => 'display:none;', :id => 'busy_indicator' %>

<div id="state-list" data-hook>
  <%= render :partial => 'state_list'%>
</div>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
spree_backend-2.2.14 app/views/spree/admin/states/index.html.erb
spree_backend-2.2.13 app/views/spree/admin/states/index.html.erb
spree_backend-2.2.12 app/views/spree/admin/states/index.html.erb
spree_backend-2.2.11 app/views/spree/admin/states/index.html.erb
spree_backend-2.2.10 app/views/spree/admin/states/index.html.erb
spree_backend-2.2.9 app/views/spree/admin/states/index.html.erb
spree_backend-2.2.8 app/views/spree/admin/states/index.html.erb
spree_backend-2.2.7 app/views/spree/admin/states/index.html.erb
spree_backend-2.2.6 app/views/spree/admin/states/index.html.erb
spree_backend-2.3.3 app/views/spree/admin/states/index.html.erb
spree_backend-2.3.2 app/views/spree/admin/states/index.html.erb
spree_backend-2.2.5 app/views/spree/admin/states/index.html.erb
spree_backend-2.3.1 app/views/spree/admin/states/index.html.erb
spree_backend-2.2.4 app/views/spree/admin/states/index.html.erb
spree_backend-2.2.3 app/views/spree/admin/states/index.html.erb
spree_backend-2.3.0 app/views/spree/admin/states/index.html.erb
spree_backend-2.2.2 app/views/spree/admin/states/index.html.erb