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