Sha256: 35e717c27f49456d3d510c0720973d37d32af3ae4906decf578d0ad4eac6a2b5
Contents?: true
Size: 904 Bytes
Versions: 5
Compression:
Stored size: 904 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 => '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 'spinner.gif', :plugin => 'spree', :style => 'display:none;', :id => 'busy_indicator' %> <div id="state-list" data-hook> <%= render :partial => 'state_list'%> </div>
Version data entries
5 entries across 5 versions & 1 rubygems