Sha256: 1fb1f84c5c015cdf888efdc5482c4bfd37ebe07ed2efb7cfdfeb6bef65364d7f
Contents?: true
Size: 718 Bytes
Versions: 1
Compression:
Stored size: 718 Bytes
Contents
<% content_for :page_title do %> <%= Spree::State.model_name.human(count: :many) %> <% end %> <% content_for :page_actions do %> <%= button_link_to Spree.t(:new_state), new_admin_country_state_url(@country), { :class => "btn-success", :icon => 'add', :id => 'new_state_link' } %> <% end %> <div data-hook="country" class="form-group"> <%= label_tag :country, Spree.t(:country) %> <select id="country" class='observe_field select2' 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> <div id="state-list" data-hook> <%= render :partial => 'state_list'%> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_backend-3.0.0.rc1 | app/views/spree/admin/states/index.html.erb |