Sha256: 26da9bdde4489de4950828300f18140d78fcc044abd30e5336329b7ec0e328a1

Contents?: true

Size: 886 Bytes

Versions: 9

Compression:

Stored size: 886 Bytes

Contents

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

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

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

<div data-hook="country" class="field row">
  <%= label_tag :country, 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 'spinner.gif', :plugin => 'spree', :style => 'display:none;', :id => 'busy_indicator' %>

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

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
spree_core-1.3.5 app/views/spree/admin/states/index.html.erb
spree_core-1.3.4 app/views/spree/admin/states/index.html.erb
spree_core-1.3.3 app/views/spree/admin/states/index.html.erb
spree_core-1.3.2 app/views/spree/admin/states/index.html.erb
spree_core-1.3.1 app/views/spree/admin/states/index.html.erb
spree_core-1.3.0 app/views/spree/admin/states/index.html.erb
spree_core-1.3.0.rc2 app/views/spree/admin/states/index.html.erb
dup_spree_core-1.3.0.rc1 app/views/spree/admin/states/index.html.erb
spree_core-1.3.0.rc1 app/views/spree/admin/states/index.html.erb